:root {
  --ink: #0a1a2d;
  --ink-soft: #415065;
  --navy: #0b2038;
  --navy-2: #102b4a;
  --paper: #f7f3ec;
  --paper-2: #fffdf9;
  --white: #ffffff;
  --line: rgba(10, 26, 45, 0.12);
  --line-dark: rgba(255, 255, 255, 0.15);
  --accent: #bd7449;
  --accent-dark: #8d4f30;
  --accent-soft: #f2dfd1;
  --accent-rgb: 189, 116, 73;
  --success: #166447;
  --shadow-sm: 0 12px 40px rgba(15, 31, 50, 0.09);
  --shadow-lg: 0 28px 90px rgba(7, 24, 42, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-page="marketing"] {
  --accent: #d8584f;
  --accent-dark: #a23b36;
  --accent-soft: #f8dbd8;
  --accent-rgb: 216, 88, 79;
}

body[data-page="audiobook"] {
  --accent: #28a9b8;
  --accent-dark: #13717c;
  --accent-soft: #d6f2f4;
  --accent-rgb: 40, 169, 184;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.chat-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.top-note {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 20px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
}

.top-note strong {
  color: var(--white);
  font-weight: 650;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid rgba(10, 26, 45, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 40px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 5px 5px 12px 5px;
  font-family: var(--serif);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow: 5px 5px 0 var(--accent-soft);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

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

.brand-tagline {
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  background: #eef0f1;
  border-radius: 999px;
}

.service-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: #536175;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.service-nav a:hover {
  color: var(--ink);
}

body[data-page="publishing"] .service-nav a[data-route="publishing"],
body[data-page="marketing"] .service-nav a[data-route="marketing"],
body[data-page="audiobook"] .service-nav a[data-route="audiobook"] {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(15, 31, 50, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  display: grid;
  gap: 1px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.2;
}

.phone-link span {
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button:focus-visible,
.icon-button:focus-visible,
.service-nav a:focus-visible,
.form-control:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.28);
  outline-offset: 3px;
}

.button-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.3);
}

.button-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 15px 34px rgba(var(--accent-rgb), 0.36);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(10, 26, 45, 0.18);
}

.button-outline {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(10, 26, 45, 0.17);
  color: var(--ink);
}

.button-outline:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  background: var(--white);
}

.button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 9% 14%, rgba(var(--accent-rgb), 0.14), transparent 26%),
    radial-gradient(circle at 75% 15%, rgba(37, 90, 146, 0.10), transparent 30%),
    linear-gradient(140deg, #fffdf9 0%, #f6f2eb 56%, #f0eee9 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  background-image: linear-gradient(rgba(10, 26, 45, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 26, 45, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, 0.95fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 5.3vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

h1 em {
    font-size: 68px;
  position: relative;
  color: var(--accent-dark);
  font-style: italic;
  font-weight: 500;
  white-space: nowrap;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 28px;
  color: #445267;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #405064;
  font-size: 0.86rem;
  font-weight: 680;
}

.trust-list svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--success);
  stroke: currentColor;
}

.hero-aside {
  position: relative;
}

.hero-aside::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -22px;
  width: 72%;
  height: 64%;
  border: 1px solid rgba(var(--accent-rgb), 0.28);
  border-radius: 50% 50% 18% 60%;
  transform: rotate(7deg);
}

.lead-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 26, 45, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--navy);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(5, 19, 34, 0.72) 100%);
}

.media-kicker {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 750;
}

.media-kicker span {
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.lead-card-body {
  padding: 23px 25px 25px;
}

.form-heading {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.form-intro {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 11px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  color: #39495d;
  font-size: 0.76rem;
  font-weight: 750;
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d7dce1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-control::placeholder {
  color: #8993a0;
}

.form-control:hover {
  border-color: #aab3bd;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.11);
  outline: 0;
}

select.form-control {
  appearance: none;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, #647084 50%), linear-gradient(135deg, #647084 50%, transparent 50%);
  background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.lead-submit {
  width: 100%;
  margin-top: 3px;
}

.form-meta {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 11px 0 0;
  color: #687487;
  font-size: 0.67rem;
  line-height: 1.45;
}

.form-meta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
  stroke: currentColor;
}

.form-success {
  display: none;
  min-height: 250px;
  place-content: center;
  text-align: center;
}

.form-success.is-visible {
  display: grid;
}

.form-success-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ddf3e9;
  color: var(--success);
}

.form-success strong {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.form-success p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.proof-bar {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-grid {
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-number,
.proof-icon {
  min-width: 34px;
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}

.proof-item strong {
  display: block;
  margin-bottom: 1px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.proof-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.35;
}

.section {
  padding: clamp(72px, 9vw, 116px) 0;
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.section-dark::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(var(--accent-rgb), 0.035), 0 0 0 140px rgba(var(--accent-rgb), 0.025);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-dark .section-label {
  color: var(--accent);
}

.section-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.section-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-heading.centered p {
  margin-inline: auto;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stage-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: var(--shadow-sm);
}

.stage-card .card-index {
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.stage-card h3 {
  margin: 26px 0 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.stage-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.55;
}

.deliverables-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(44px, 8vw, 100px);
  align-items: start;
}

.deliverables-intro {
  position: sticky;
  top: 130px;
}

.deliverables-intro h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.deliverables-intro p {
  margin-bottom: 27px;
  color: rgba(255, 255, 255, 0.68);
}

.deliverables-list {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-dark);
}

.deliverable {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line-dark);
}

.deliverable-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 50%;
  color: var(--accent);
}

.deliverable-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.deliverable h3 {
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.deliverable p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.55) 12%, rgba(var(--accent-rgb), 0.55) 88%, transparent);
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-step::before {
  content: attr(data-step);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid rgba(var(--accent-rgb), 0.42);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  box-shadow: 0 0 0 8px var(--paper-2);
}

.process-step h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.process-step p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.control-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.control-column {
  padding: clamp(32px, 5vw, 56px);
}

.control-column:first-child {
  background: var(--ink);
  color: var(--white);
}

.control-column h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.control-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.control-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.control-column:first-child .control-list li {
  color: rgba(255, 255, 255, 0.72);
}

.control-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--accent);
  stroke: currentColor;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 8vw, 90px);
  align-items: start;
}

.faq-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.faq-intro p {
  color: var(--ink-soft);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 21px 44px 21px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
}

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

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 16px;
  height: 1px;
  background: var(--accent-dark);
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-answer {
  max-width: 700px;
  padding: 0 36px 22px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  padding: clamp(36px, 6vw, 68px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -170px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(var(--accent-rgb), 0.05), 0 0 0 120px rgba(var(--accent-rgb), 0.03);
}

.cta-copy,
.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  margin-bottom: 13px;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.cta-copy p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.cta-actions {
  display: grid;
  justify-items: stretch;
  gap: 11px;
}

.cta-actions .button-outline {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.site-footer {
  padding: 52px 0 28px;
  background: #061524;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 60px;
  padding-bottom: 38px;
}

.site-footer .brand {
  margin-bottom: 20px;
  color: var(--white);
}

.site-footer .brand-mark {
  color: var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(var(--accent-rgb), 0.7);
}

.site-footer .brand-tagline {
  color: rgba(255, 255, 255, 0.55);
}

.footer-about {
  max-width: 460px;
  margin-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.65;
}

.footer-heading {
  margin-bottom: 15px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
}

.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 82;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(6, 21, 36, 0.27);
  font-size: 0.86rem;
  font-weight: 780;
  transition: transform 160ms ease, background-color 160ms ease;
}

.chat-fab:hover {
  transform: translateY(-2px);
  background: var(--navy-2);
}

.chat-fab svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.chat-nudge {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 81;
  max-width: 260px;
  padding: 14px 38px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px 15px 4px 15px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chat-nudge.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-nudge strong {
  display: block;
  margin-bottom: 2px;
}

.nudge-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #657184;
  cursor: pointer;
}

.chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: rgba(4, 14, 25, 0.48);
  backdrop-filter: blur(5px);
}

.chat-backdrop.is-visible {
  display: block;
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 91;
  width: min(390px, calc(100% - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 100px rgba(4, 14, 25, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.chat-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--ink);
  color: var(--white);
}

.chat-head strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.chat-head span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
}

.chat-body {
  min-height: 280px;
  padding: 22px 20px;
  background: #f5f3ef;
}

.chat-message {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 13px 14px;
  border-radius: 4px 15px 15px 15px;
  background: var(--white);
  color: #33445a;
  box-shadow: 0 6px 18px rgba(15, 31, 50, 0.06);
  font-size: 0.84rem;
}

.chat-message.user {
  margin-left: auto;
  border-radius: 15px 4px 15px 15px;
  background: var(--ink);
  color: var(--white);
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.quick-replies button {
  padding: 9px 11px;
  border: 1px solid rgba(var(--accent-rgb), 0.38);
  border-radius: 999px;
  background: var(--white);
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 750;
}

.chat-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat-foot .button {
  width: 100%;
}

.mobile-actions {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 80;
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(6, 21, 36, 0.19);
  backdrop-filter: blur(14px);
}

.mobile-actions .button {
  min-height: 45px;
  padding-inline: 13px;
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media (max-width: 1080px) {
  .service-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
    gap: 42px;
  }

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

@media (max-width: 860px) {
  .header-inner {
    min-height: 70px;
  }

  .header-actions .button,
  .phone-link {
    display: none;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-grid,
  .deliverables-layout,
  .faq-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-aside {
    max-width: 620px;
  }

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

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .proof-item:first-child,
  .proof-item:nth-child(3) {
    padding-left: 0;
  }

  .deliverables-intro {
    position: static;
  }

  .process-track {
    grid-template-columns: 1fr 1fr;
  }

  .process-track::before {
    display: none;
  }

  .control-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .chat-fab {
    display: none;
  }

  .chat-nudge {
    display: none;
  }

  .mobile-actions {
    display: grid;
  }

  .site-footer {
    padding-bottom: 104px;
  }
}

@media (max-width: 590px) {
  .top-note {
    min-height: 40px;
    font-size: 0.66rem;
  }

  .shell,
  .header-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-mark {
    width: 30px;
    height: 36px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }

  .hero {
    padding: 40px 0 44px;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 3.75rem);
  }

  h1 em {
    white-space: normal;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-media {
    height: 165px;
  }

  .lead-card-body {
    padding: 21px 18px 22px;
  }

  .field-grid,
  .proof-grid,
  .stage-grid,
  .process-track,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:nth-child(3) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .stage-card {
    min-height: 175px;
  }

  .deliverable {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .deliverable-icon {
    width: 38px;
    height: 38px;
  }

  .process-step {
    padding-left: 72px;
  }

  .process-step::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    margin: 0;
    box-shadow: none;
  }

  .control-column {
    padding: 30px 22px;
  }

  .cta-panel {
    padding: 34px 22px;
  }

  .footer-bottom {
    display: grid;
  }

  .chat-panel {
    right: 14px;
    bottom: 14px;
  }
}
