:root {
  --ink: #071226;
  --ink-deep: #030914;
  --ink-soft: #0d2143;
  --sapphire: #2f62e8;
  --sapphire-bright: #6d9cff;
  --gold: #e2bd6a;
  --gold-pale: #f6dfa7;
  --paper: #f5f7fb;
  --white: #ffffff;
  --text: #13213a;
  --muted: #60708d;
  --line: #d8dfeb;
  --soft-blue: #eaf0ff;
  --shadow: 0 22px 60px rgba(4, 16, 42, 0.12);
  --radius: 18px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.6rem);
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.45rem;
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--sapphire-bright);
  outline-offset: 4px;
}

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

.container {
  margin-inline: auto;
  max-width: 1240px;
  padding-inline: 28px;
  width: 100%;
}

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

.skip-link {
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  transition: top 0.2s ease;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  color: var(--sapphire);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.02em;
  min-height: 50px;
  padding: 12px 24px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button-gold {
  background: var(--gold);
  color: var(--ink-deep);
}

.button-gold:hover {
  background: var(--gold-pale);
}

.button-outline {
  border-color: rgba(47, 98, 232, 0.38);
  color: var(--sapphire);
}

.button-outline:hover {
  background: var(--soft-blue);
  border-color: var(--sapphire);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.65);
}

.button-small {
  min-height: 42px;
  padding: 9px 18px;
}

.text-link {
  align-items: center;
  color: var(--sapphire);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 8px;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.site-header {
  background: rgba(5, 15, 33, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
}

.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 84px;
}

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

.brand img {
  background: var(--white);
  border: 1px solid rgba(226, 189, 106, 0.45);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  height: 48px;
  object-fit: contain;
  padding: 2px;
  width: 48px;
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.1;
}

.brand small {
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  margin-top: 4px;
  text-transform: uppercase;
}

.primary-nav {
  align-items: center;
  display: flex;
  gap: 22px;
}

.primary-nav ul {
  align-items: center;
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav ul a {
  border-radius: 999px;
  color: #cbd6ea;
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 11px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.primary-nav ul a:hover,
.primary-nav ul a.active {
  background: rgba(109, 156, 255, 0.11);
  color: var(--white);
}

.primary-nav ul a.active {
  box-shadow: inset 0 -1px 0 var(--gold);
}

.language-switcher {
  align-items: center;
  display: flex;
  gap: 5px;
  margin-left: -10px;
}

.language-switcher a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: inline-flex;
  font-size: 1.05rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  width: 34px;
}

.language-switcher a:hover,
.language-switcher a.active {
  background: rgba(109, 156, 255, 0.16);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 48px;
  padding: 10px;
  width: 48px;
}

.nav-toggle > span:not(.sr-only) {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 27px;
}

.home-hero {
  background:
    radial-gradient(circle at 75% 26%, rgba(47, 98, 232, 0.33), transparent 31%),
    radial-gradient(circle at 12% 10%, rgba(226, 189, 106, 0.08), transparent 25%),
    linear-gradient(145deg, var(--ink-deep), var(--ink) 55%, #0c2045);
  color: #d7e0f1;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  padding: 96px 0 0;
  position: relative;
}

.home-hero::before,
.page-hero::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
  position: absolute;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 68px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  min-height: 590px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-bottom: 74px;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.section-ink .eyebrow,
.cta-band .eyebrow,
.site-footer .text-link {
  color: var(--gold);
}

.hero-copy h1 {
  color: var(--white);
  margin-bottom: 26px;
  max-width: 760px;
}

.hero-copy h1 em {
  color: var(--gold-pale);
  font-weight: 500;
}

.hero-lede {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 690px;
}

.hero-copy .button-outline,
.page-hero .button-outline {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.hero-copy .button-outline:hover,
.page-hero .button-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-text-link {
  align-items: center;
  color: var(--gold-pale);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 7px;
  padding: 10px 2px;
}

.hero-text-link span {
  transition: transform 0.2s ease;
}

.hero-text-link:hover span {
  transform: translateX(4px);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 25px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.trust-list li {
  color: #bfcbe0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-left: 18px;
  position: relative;
}

.trust-list li::before {
  background: var(--gold);
  border-radius: 50%;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  top: 0.75em;
  width: 5px;
}

.hero-art {
  align-self: stretch;
  min-height: 565px;
  position: relative;
}

.hero-cover {
  background: #111b2d;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.43);
  margin: 0;
  overflow: hidden;
  position: absolute;
}

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

.hero-cover-main {
  left: 22%;
  top: 32px;
  transform: rotate(-1.5deg);
  width: 56%;
  z-index: 3;
}

.hero-cover-left {
  left: 0;
  top: 112px;
  transform: rotate(-8deg);
  width: 43%;
  z-index: 2;
}

.hero-cover-right {
  right: -1%;
  top: 104px;
  transform: rotate(8deg);
  width: 43%;
  z-index: 4;
}

.hero-seal {
  align-items: center;
  background: var(--gold);
  border: 7px solid var(--ink);
  border-radius: 50%;
  bottom: 3px;
  color: var(--ink-deep);
  display: flex;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  height: 112px;
  justify-content: center;
  line-height: 1.15;
  position: absolute;
  right: 11%;
  text-align: center;
  transform: rotate(-5deg);
  width: 112px;
  z-index: 5;
}

.hero-stats {
  position: relative;
  z-index: 2;
}

.home-hero .stat-grid {
  border-radius: var(--radius) var(--radius) 0 0;
}

.stat-grid {
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat {
  min-height: 146px;
  padding: 30px 34px;
  position: relative;
}

.stat + .stat::before {
  background: var(--line);
  content: "";
  height: 55%;
  left: 0;
  position: absolute;
  top: 22.5%;
  width: 1px;
}

.stat strong {
  color: var(--ink);
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1;
}

.stat strong span {
  color: var(--sapphire);
  font-size: 0.55em;
}

.stat > span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 12px;
  text-transform: uppercase;
}

.venture-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}

.venture-layout {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
}

.venture-layout .eyebrow {
  margin-bottom: 8px;
}

.venture-layout h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  margin-bottom: 0;
}

.venture-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.venture-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 9px 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.venture-links a:hover {
  border-color: var(--sapphire);
  color: var(--sapphire);
  transform: translateY(-2px);
}

.venture-links .venture-primary {
  background: var(--sapphire);
  border-color: var(--sapphire);
  color: var(--white);
}

.venture-links .venture-primary:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  color: var(--white);
}

.client-ribbon {
  background: var(--soft-blue);
  border-bottom: 1px solid #d1dcf9;
  padding: 62px 0;
}

.client-ribbon-heading {
  margin: 0 auto 32px;
  max-width: 820px;
  text-align: center;
}

.client-ribbon-heading .eyebrow {
  margin-bottom: 10px;
}

.client-ribbon-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  margin-bottom: 0;
}

.client-logo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.client-logo-grid figure {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-height: 126px;
  padding: 16px 12px 12px;
}

.client-logo-grid img {
  height: 58px;
  object-fit: contain;
  width: 100%;
}

.client-logo-grid figcaption {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 10px;
  text-align: center;
}

.client-disclaimer {
  color: var(--muted);
  font-size: 0.72rem;
  margin: 18px auto 0;
  max-width: 850px;
  text-align: center;
}

.page-hero {
  background:
    radial-gradient(circle at 82% 35%, rgba(47, 98, 232, 0.29), transparent 30%),
    linear-gradient(135deg, var(--ink-deep), var(--ink-soft));
  color: #d2dced;
  overflow: hidden;
  padding: 108px 0 104px;
  position: relative;
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 1000px;
}

.page-hero .lede {
  font-size: 1.2rem;
  max-width: 800px;
}

.section {
  padding: 104px 0;
}

.section-soft {
  background: #eaf0f9;
}

.section-ink {
  background:
    radial-gradient(circle at 15% 15%, rgba(47, 98, 232, 0.15), transparent 24%),
    var(--ink);
  color: #ccd7e9;
}

.section-ink h2,
.section-ink h3 {
  color: var(--white);
}

.section-heading {
  margin-bottom: 50px;
  max-width: 850px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.split-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.2fr 0.8fr;
  max-width: none;
}

.split-heading > p,
.split-heading > .text-link {
  margin-bottom: 8px;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 34px;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card::after {
  background: linear-gradient(90deg, var(--sapphire), var(--gold));
  border-radius: 0 0 var(--radius) var(--radius);
  bottom: -1px;
  content: "";
  height: 3px;
  left: 18px;
  opacity: 0;
  position: absolute;
  right: 18px;
  transition: opacity 0.2s ease;
}

.service-card:hover {
  border-color: rgba(47, 98, 232, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card:hover::after {
  opacity: 1;
}

.service-mark {
  align-items: center;
  background: var(--soft-blue);
  border: 1px solid #d1dcf9;
  border-radius: 13px;
  color: var(--sapphire);
  display: flex;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  height: 54px;
  justify-content: center;
  margin-bottom: 34px;
  width: 58px;
}

.service-card h3 {
  margin-bottom: 18px;
}

.service-card p {
  color: var(--muted);
}

.service-card .card-meta {
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: auto;
  padding-top: 20px;
}

.service-card .text-link {
  margin-top: 12px;
}

.feature-grid,
.two-column,
.contact-grid,
.portfolio-document {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.wide-gap {
  gap: 100px;
}

.portrait-frame {
  margin-inline: auto;
  max-width: 420px;
  padding: 18px;
  position: relative;
  width: 100%;
}

.portrait-frame::before {
  border: 1px solid var(--gold);
  content: "";
  inset: 0 36px 36px 0;
  position: absolute;
}

.portrait-frame::after {
  background: var(--sapphire);
  bottom: 0;
  content: "";
  height: 42%;
  position: absolute;
  right: 0;
  width: 38%;
  z-index: 0;
}

.portrait-frame img {
  aspect-ratio: 508 / 550;
  border-radius: 5px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  height: auto;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.feature-copy > p:not(.eyebrow),
.two-column > div > p:not(.eyebrow) {
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 13px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  content: "";
  height: 12px;
  left: 5px;
  position: absolute;
  top: 0.42em;
  transform: rotate(45deg);
  width: 6px;
}

.process-grid {
  counter-reset: steps;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 300px;
  padding: 38px 32px;
}

.process-grid li:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.process-grid li:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.process-grid li > span,
.mini-card-grid article > span {
  color: var(--sapphire);
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-bottom: 55px;
}

.process-grid h3 {
  margin-bottom: 16px;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.92rem;
}

.review-grid {
  columns: 3;
  column-gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  break-inside: avoid;
  box-shadow: 0 8px 28px rgba(5, 20, 46, 0.05);
  display: inline-block;
  margin: 0 0 20px;
  padding: 34px;
  width: 100%;
}

.review-card::before {
  color: var(--gold);
  content: "“";
  display: block;
  font-family: var(--serif);
  font-size: 4rem;
  height: 48px;
  line-height: 1;
}

.review-card blockquote {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.6;
}

.review-card figcaption {
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  padding-top: 18px;
}

.review-card figcaption strong {
  color: var(--ink);
}

.review-card figcaption span {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 3px;
}

.review-grid-featured {
  columns: auto;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.review-grid-featured .review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.review-grid-featured .review-card figcaption {
  margin-top: auto;
}

.work-grid,
.portfolio-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.work-card,
.portfolio-grid > a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.work-card:hover,
.portfolio-grid > a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.work-card img,
.portfolio-grid img {
  aspect-ratio: 500 / 372;
  object-fit: cover;
  width: 100%;
}

.work-card > span,
.portfolio-grid > a > span {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 25px;
}

.work-card strong,
.portfolio-grid strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
}

.work-card small,
.portfolio-grid small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 5px;
}

.book-showcase-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(5, minmax(145px, 180px));
  justify-content: center;
  margin-inline: auto;
  max-width: 1040px;
}

.book-showcase-card {
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-self: center;
  max-width: 180px;
  overflow: visible;
  text-align: center;
  transition: transform 0.2s ease;
  width: 100%;
}

.book-showcase-card:hover {
  transform: translateY(-5px);
}

.book-showcase-card img {
  border-radius: 5px;
  box-shadow: 0 16px 34px rgba(5, 20, 46, 0.2);
  height: 260px;
  margin-inline: auto;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.book-showcase-card > span {
  display: flex;
  flex-direction: column;
  padding: 15px 5px 0;
}

.book-showcase-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.25;
}

.book-showcase-card small {
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.45;
  margin-top: 5px;
}

.section-ink .portfolio-grid > a {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.13);
}

.section-ink .portfolio-grid strong {
  color: var(--white);
}

.section-ink .portfolio-grid small {
  color: #aebbd1;
}

.section-ink .book-showcase-card {
  background: transparent;
  border-color: transparent;
}

.section-ink .book-showcase-card strong {
  color: var(--white);
}

.section-ink .book-showcase-card small {
  color: #aebbd1;
}

.cta-band {
  background:
    radial-gradient(circle at 18% 50%, rgba(47, 98, 232, 0.28), transparent 26%),
    linear-gradient(125deg, var(--ink-deep), #102958);
  color: #cbd7ea;
  padding: 80px 0;
}

.cta-grid {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr auto;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 16px;
  max-width: 760px;
}

.cta-band p:not(.eyebrow) {
  max-width: 760px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 215px;
}

.site-footer {
  background: var(--ink-deep);
  color: #aebbd0;
  padding: 76px 0 0;
}

.footer-grid {
  display: grid;
  gap: 54px;
  grid-template-columns: 1.5fr 0.8fr 0.7fr 1fr;
  padding-bottom: 62px;
}

.footer-brand > p {
  max-width: 330px;
}

.footer-grid h2 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 10px 0 21px;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid a:not(.brand):not(.text-link) {
  color: #b8c4d8;
  font-size: 0.9rem;
}

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

.footer-brand .brand {
  margin-bottom: 24px;
}

.footer-email {
  overflow-wrap: anywhere;
}

.footer-base {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
  padding-bottom: 26px;
  padding-top: 26px;
}

.footer-base p {
  margin: 0;
}

.footer-base-links {
  display: flex;
  gap: 20px;
}

.footer-base-links a {
  color: #b8c4d8;
}

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

.legal-copy {
  max-width: 900px;
}

.legal-copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin-bottom: 16px;
  margin-top: 48px;
}

.legal-copy a:not(.button) {
  color: var(--sapphire);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-updated {
  color: var(--muted);
}

.error-hero {
  min-height: 65vh;
}

.table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 820px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 22px 24px;
  text-align: left;
  vertical-align: top;
}

thead th {
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold-pale);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

tbody th {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
}

tbody td {
  color: #c0cbe0;
  font-size: 0.9rem;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody a:hover {
  color: var(--gold);
}

.format-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.format-panel span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 12px 18px;
}

.note-band {
  background: var(--gold-pale);
  padding: 38px 0;
}

.note-band .container {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: 0.55fr 1.45fr;
}

.note-band strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.note-band p {
  margin: 0;
}

.price-card,
.feature-card,
.warning-card,
.book-card,
.faq-aside,
.contact-panel,
.contact-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.price-card dl {
  margin: 24px 0 0;
}

.price-card dl div {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 15px 0;
}

.price-card dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-card dd {
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.fine-print,
.center-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.price-card-dark {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.price-card-dark dl div {
  border-color: rgba(255, 255, 255, 0.13);
}

.price-card-dark dt {
  color: #b8c5da;
}

.price-card-dark dd {
  color: var(--white);
}

.callout {
  border-left: 3px solid var(--gold);
  margin-top: 30px;
  padding: 4px 0 4px 20px;
}

.mini-card-grid,
.service-split {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.mini-card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.mini-card-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.mini-card-grid article > span {
  margin-bottom: 38px;
}

.mini-card-grid p,
.feature-card p {
  color: var(--muted);
}

.center-note {
  margin: 34px auto 0;
  max-width: 780px;
  text-align: center;
}

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

.feature-card {
  box-shadow: none;
}

.feature-card .turnaround {
  border-top: 1px solid var(--line);
  color: var(--ink);
  margin-top: 30px;
  padding-top: 22px;
}

.warning-card {
  border-left: 5px solid #b84956;
}

.warning-card strong {
  color: #9d2f3c;
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.book-card {
  overflow: hidden;
  padding: 0;
}

.book-card img {
  width: 100%;
}

.book-card-featured img {
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(5, 20, 46, 0.2);
  display: block;
  margin: 34px auto 0;
  max-width: 58%;
}

.book-card > div {
  padding: 32px;
}

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

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

.logo-grid figure {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  min-height: 170px;
  padding: 24px;
}

.logo-grid img {
  height: 72px;
  max-width: 150px;
  object-fit: contain;
  width: 100%;
}

.logo-grid figcaption {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 14px;
  text-align: center;
}

.portfolio-document {
  grid-template-columns: 1.3fr 0.7fr;
}

.document-icon {
  align-items: center;
  aspect-ratio: 0.78;
  background: linear-gradient(145deg, var(--ink), var(--ink-soft));
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: center;
  max-width: 230px;
  position: relative;
  transform: rotate(3deg);
  width: 100%;
}

.document-icon::before {
  border: 1px solid rgba(226, 189, 106, 0.6);
  content: "";
  inset: 13px;
  position: absolute;
}

.document-icon span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 1;
}

.document-icon strong {
  font-size: 0.67rem;
  letter-spacing: 0.25em;
  margin-top: 18px;
}

.about-feature {
  align-items: center;
}

.center-metric {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 45px;
  padding-top: 44px;
}

.center-metric strong {
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.center-metric span {
  max-width: 270px;
}

.timeline-clean {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-clean li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 50px;
  grid-template-columns: 140px 1fr;
  padding: 32px 0;
}

.timeline-clean li > span {
  color: var(--sapphire);
  font-family: var(--serif);
  font-size: 1.65rem;
}

.timeline-clean h3 {
  margin-bottom: 8px;
}

.timeline-clean p {
  color: var(--muted);
  margin: 0;
  max-width: 790px;
}

.principles {
  display: grid;
  gap: 12px;
}

.principles > div {
  background: var(--white);
  border-left: 3px solid var(--sapphire);
  padding: 22px 26px;
}

.principles strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.principles p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

.rating-banner {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr auto;
}

.rating-banner > div {
  display: flex;
  flex-direction: column;
}

.rating-banner strong {
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
}

.rating-banner span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 10px;
  text-transform: uppercase;
}

.rating-banner p {
  font-size: 1.2rem;
  margin: 0;
}

.faq-layout {
  align-items: start;
  display: grid;
  gap: 60px;
  grid-template-columns: 0.72fr 1.28fr;
}

.faq-aside {
  position: sticky;
  top: 112px;
}

.faq-aside .button {
  margin-top: 22px;
}

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

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

.faq-list summary {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-family: var(--serif);
  font-size: 1.32rem;
  justify-content: space-between;
  list-style: none;
  padding: 25px 4px;
}

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

.faq-list summary span {
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: 0 0 32px;
  height: 32px;
  margin-left: 20px;
  position: relative;
  width: 32px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  background: var(--sapphire);
  content: "";
  height: 2px;
  left: 9px;
  position: absolute;
  top: 14px;
  width: 12px;
}

.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

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

.faq-list details > div {
  color: var(--muted);
  max-width: 720px;
  padding: 0 52px 24px 4px;
}

.contact-grid {
  align-items: start;
  grid-template-columns: 1.3fr 0.7fr;
}

.contact-panel {
  padding: 48px;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.field-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form label {
  color: var(--ink);
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 400;
  min-height: 52px;
  padding: 12px 14px;
  width: 100%;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sapphire);
  box-shadow: 0 0 0 4px rgba(47, 98, 232, 0.12);
  outline: 0;
}

.honeypot {
  left: -10000px;
  position: absolute;
}

.form-footer {
  align-items: center;
  display: flex;
  gap: 20px;
}

.form-status {
  font-size: 0.88rem;
  margin: 0;
}

.form-status.success {
  color: #18663a;
}

.form-status.error {
  color: #a42634;
}

.form-privacy {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
  margin: -4px 0 0;
}

.form-privacy a {
  color: var(--sapphire);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-form .eligibility-confirmation {
  align-items: flex-start;
  background: #fff8e4;
  border: 1px solid rgba(174, 125, 28, 0.35);
  border-radius: 10px;
  display: flex;
  font-size: 0.78rem;
  gap: 10px;
  line-height: 1.5;
  padding: 13px 14px;
}

.contact-form .eligibility-confirmation input {
  flex: 0 0 auto;
  height: 18px;
  margin-top: 2px;
  min-height: 18px;
  padding: 0;
  width: 18px;
}

.client-eligibility {
  background: #fff4cf;
  border-bottom: 1px solid rgba(174, 125, 28, 0.35);
  border-top: 1px solid rgba(174, 125, 28, 0.35);
  color: #523a0b;
  padding: 22px 0;
}

.client-eligibility .container {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  text-align: center;
}

.client-eligibility strong {
  color: #312103;
}

.client-eligibility p {
  font-size: 0.9rem;
  margin: 0;
}

.contact-aside {
  display: grid;
  gap: 36px;
  padding: 38px;
}

.contact-email {
  color: var(--sapphire);
  display: inline-block;
  font-weight: 800;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.contact-links {
  border-top: 1px solid var(--line);
  display: grid;
}

.contact-links a {
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 18px 0;
}

.contact-links a:hover strong {
  color: var(--sapphire);
}

.contact-links span {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 3px;
}

.contact-note {
  background: var(--soft-blue);
  border-radius: 12px;
  padding: 22px;
}

.contact-note strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.contact-note p {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 8px;
}

@media (max-width: 1120px) {
  .primary-nav {
    gap: 12px;
  }

  .primary-nav ul a {
    padding-inline: 8px;
  }

  .service-grid,
  .mini-card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
  }

  .client-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .primary-nav {
    align-items: stretch;
    background: var(--ink-deep);
    display: none;
    flex-direction: column;
    inset: 84px 0 0;
    overflow-y: auto;
    padding: 34px 28px 50px;
    position: fixed;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav ul {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-nav ul a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    font-family: var(--serif);
    font-size: 1.4rem;
    padding: 14px 4px;
  }

  .primary-nav ul a.active {
    box-shadow: none;
    color: var(--gold);
  }

  .primary-nav .button {
    margin-top: 20px;
  }

  .primary-nav .language-switcher {
    margin-left: 0;
    margin-top: 4px;
  }

  .book-showcase-grid {
    grid-template-columns: repeat(3, minmax(145px, 180px));
  }

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

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-art {
    min-height: 560px;
  }

  .hero-cover-main {
    left: 31%;
    width: 38%;
  }

  .hero-cover-left {
    left: 11%;
    width: 31%;
  }

  .hero-cover-right {
    right: 11%;
    width: 31%;
  }

  .venture-layout {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .venture-links {
    justify-content: flex-start;
  }

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

  .stat:nth-child(3)::before {
    display: none;
  }

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

  .split-heading,
  .feature-grid,
  .two-column,
  .portfolio-document,
  .contact-grid,
  .faq-layout,
  .cta-grid {
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .split-heading {
    align-items: start;
  }

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

  .process-grid li:first-child,
  .process-grid li:last-child {
    border-radius: 0;
  }

  .process-grid li:first-child {
    border-radius: var(--radius) 0 0 0;
  }

  .process-grid li:nth-child(2) {
    border-radius: 0 var(--radius) 0 0;
  }

  .process-grid li:nth-child(3) {
    border-radius: 0 0 0 var(--radius);
  }

  .process-grid li:last-child {
    border-radius: 0 0 var(--radius) 0;
  }

  .review-grid {
    columns: 2;
  }

  .review-grid-featured {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .cta-actions {
    align-items: flex-start;
    flex-direction: row;
  }

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

  .faq-aside {
    position: static;
  }

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

  .contact-note {
    grid-column: 1 / -1;
  }

  .rating-banner {
    grid-template-columns: 1fr 1fr;
  }

  .rating-banner .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .container {
    padding-inline: 20px;
  }

  .nav-shell {
    min-height: 76px;
  }

  .primary-nav {
    inset-block-start: 76px;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  .home-hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-art {
    min-height: 385px;
  }

  .hero-cover-main {
    left: 24%;
    top: 18px;
    width: 52%;
  }

  .hero-cover-left {
    left: 2%;
    top: 68px;
    width: 42%;
  }

  .hero-cover-right {
    right: 2%;
    top: 65px;
    width: 42%;
  }

  .hero-seal {
    bottom: 10px;
    height: 88px;
    right: 7%;
    width: 88px;
  }

  .stat-grid,
  .service-grid,
  .mini-card-grid,
  .mini-card-grid.four,
  .service-split,
  .process-grid,
  .work-grid,
  .portfolio-grid,
  .logo-grid,
  .field-row,
  .contact-aside,
  .rating-banner {
    grid-template-columns: 1fr;
  }

  .venture-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venture-links a {
    text-align: center;
  }

  .client-logo-grid,
  .book-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    min-height: 126px;
    padding: 27px;
  }

  .stat + .stat::before {
    display: none;
  }

  .stat:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

  .section,
  .page-hero {
    padding-bottom: 76px;
    padding-top: 76px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .service-card {
    min-height: 0;
  }

  .process-grid li,
  .process-grid li:first-child,
  .process-grid li:nth-child(2),
  .process-grid li:nth-child(3),
  .process-grid li:last-child {
    border-radius: 0;
    min-height: 0;
  }

  .process-grid li:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .process-grid li:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .process-grid li > span,
  .mini-card-grid article > span {
    margin-bottom: 24px;
  }

  .review-grid {
    columns: 1;
  }

  .cta-actions,
  .button-row,
  .form-footer,
  .center-metric {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button,
  .cta-actions .button,
  .form-footer .button {
    width: 100%;
  }

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

  .footer-base {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .client-eligibility .container {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .note-band .container,
  .timeline-clean li {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .price-card,
  .feature-card,
  .warning-card,
  .faq-aside,
  .contact-panel,
  .contact-aside {
    padding: 28px;
  }

  .portfolio-document {
    text-align: left;
  }

  .document-icon {
    justify-self: start;
  }

  .contact-note {
    grid-column: auto;
  }

  .rating-banner .button {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .venture-links,
  .client-logo-grid,
  .book-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .button-row,
  .button,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section,
  .page-hero {
    background: white !important;
    color: black !important;
    padding: 28px 0;
  }

  h1,
  h2,
  h3,
  .page-hero h1,
  .section-ink h2,
  .section-ink h3 {
    color: black;
  }
}
