:root {
  --ink: #000000;
  --ink-soft: #000064;
  --surface: #ffffff;
  --paper: #f2f6ff;
  --paper-strong: #edf1fd;
  --line: rgba(19, 23, 54, 0.18);
  --muted: rgba(19, 23, 54, 0.6);
  --teal: #0012f0;
  --teal-deep: #0376ff;
  --gold: #bac9df;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(0, 0, 100, 0.14);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Avenir Next", "Segoe UI", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

:focus-visible {
  outline: 3px solid rgba(3, 118, 255, 0.5);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--teal);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.top-strip {
  color: rgba(255, 255, 255, 0.78);
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.top-strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-strip strong {
  color: var(--teal);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(3, 118, 255, 0.55);
  border-radius: 12px 4px 12px 4px;
  color: var(--ink);
  background: linear-gradient(145deg, var(--teal), #0376ff);
  box-shadow: 0 0 28px rgba(0, 18, 240, 0.2);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 0.92rem;
  letter-spacing: 0.15em;
}

.brand-copy span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.89rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  box-shadow: inset 0 -2px 0 var(--teal);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-button {
  min-width: 46px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.63);
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.lang-button.active {
  color: var(--ink);
  background: var(--teal);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(4px);
}

.menu-open .menu-lines {
  background: transparent;
}

.menu-open .menu-lines::before {
  transform: translateY(1px) rotate(45deg);
}

.menu-open .menu-lines::after {
  transform: translateY(-1px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 10%, rgba(3, 118, 255, 0.18), transparent 31%),
    linear-gradient(135deg, #000000 0%, #000064 55%, #000000 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 0.75px, transparent 0.75px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 72%);
  content: "";
}

.hero-grid {
  position: relative;
  min-height: 660px;
  padding-block: 76px 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 54px;
}

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

.eyebrow.light {
  color: var(--teal);
}

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

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.55rem, 5.6vw, 5.4rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.72;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(0, 18, 240, 0.22);
}

.button-primary:hover {
  background: #0376ff;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.arrow {
  font-size: 1.12em;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-frame {
  position: absolute;
  inset: 20px 0 20px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 86px 22px 86px 22px;
  background: #000064;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.35);
}

.hero-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 45%);
  content: "";
}

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

.trade-tag {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 4px;
  width: 172px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trade-tag small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trade-tag strong {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.hero-facts {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 2px;
  display: grid;
  gap: 8px;
}

.hero-fact {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.fact-bar {
  margin-top: -1px;
  color: var(--white);
  background: var(--ink-soft);
}

.fact-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fact-item {
  min-height: 96px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.fact-number {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.fact-item span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
}

.section {
  padding-block: 104px;
}

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

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.48fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 44px;
}

.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

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

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-card,
.service-card,
.value-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.portfolio-card {
  min-height: 320px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.portfolio-card::after {
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3, 118, 255, 0.24), transparent 68%);
  content: "";
}

.card-index {
  color: var(--teal-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.portfolio-card h3,
.service-card h3,
.value-card h3 {
  margin: 42px 0 12px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.portfolio-card p,
.service-card p,
.value-card p {
  margin: 0;
  color: var(--muted);
}

.text-link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 26px;
  color: var(--ink);
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: process;
}

.process-step {
  padding: 28px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  counter-increment: process;
}

.process-step::before {
  display: block;
  margin-bottom: 54px;
  color: var(--teal);
  content: "0" counter(process);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.92rem;
}

.cta-wrap {
  padding-block: 76px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 86% 20%, rgba(3, 118, 255, 0.2), transparent 26%),
    linear-gradient(130deg, #000064, #000000);
}

.cta-panel::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(186, 201, 223, 0.24);
  border-radius: 50%;
  content: "";
}

.cta-panel p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
}

.cta-panel .button {
  position: relative;
  z-index: 1;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 100px 88px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(3, 118, 255, 0.16), transparent 26%),
    linear-gradient(145deg, #000000, #000064);
}

.page-hero::after {
  position: absolute;
  right: 8%;
  top: 14%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(186, 201, 223, 0.23);
  border-radius: 52px 14px 52px 14px;
  transform: rotate(10deg);
  content: "";
}

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

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
}

.page-hero p:last-child {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.06rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-height: 275px;
  padding: 32px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-content: start;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.product-code {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px 6px 18px 6px;
  color: var(--teal-deep);
  background: rgba(3, 118, 255, 0.14);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.product-card h2 {
  margin: 3px 0 10px;
  font-size: 1.35rem;
  line-height: 1.22;
}

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

.product-meta {
  grid-column: 2;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 750;
}

.notice {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted);
  background: #f2f6ff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 280px;
  padding: 30px;
}

.service-card .card-index {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: rgba(3, 118, 255, 0.13);
}

.service-card h3 {
  margin-top: 54px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.58fr);
  gap: 84px;
  align-items: start;
}

.prose h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.prose p {
  margin: 24px 0 0;
  color: var(--muted);
}

.detail-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.detail-panel h3 {
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.detail-list {
  margin: 0;
}

.detail-row {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.detail-row dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.detail-row dd {
  margin: 0;
  font-weight: 650;
}

.value-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  min-height: 230px;
  padding: 30px;
}

.value-card h3 {
  margin-top: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.64fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--ink);
}

.contact-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.contact-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.contact-label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-value {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.form-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 55px rgba(0, 0, 100, 0.08);
}

.form-card h2 {
  margin: 0;
  font-size: 1.7rem;
}

.form-intro {
  margin: 10px 0 28px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
}

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

.form-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.form-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.inquiry-result {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(3, 118, 255, 0.25);
  border-radius: 14px;
  background: rgba(3, 118, 255, 0.08);
}

.inquiry-result[hidden] {
  display: none;
}

.inquiry-result h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.inquiry-result pre {
  max-height: 280px;
  margin: 0 0 14px;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  font: 0.83rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.copy-status {
  min-height: 1.4em;
  margin-left: 8px;
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 750;
}

.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: #000000;
}

.footer-main {
  padding-block: 64px 42px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 72px;
}

.footer-brand p {
  max-width: 420px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-heading {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

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

.footer-address {
  margin: 0;
  font-style: normal;
  font-size: 0.88rem;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
}

@media (max-width: 1000px) {
  .nav-links {
    position: fixed;
    inset: 112px 20px auto;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-link {
    padding: 13px 14px;
  }

  .nav-link.active {
    box-shadow: inset 3px 0 0 var(--teal);
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

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

  .hero-visual {
    min-height: 470px;
  }

  .section-heading,
  .two-column {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .card-grid,
  .service-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .top-strip-inner {
    min-height: 38px;
    font-size: 0.68rem;
  }

  .top-strip-inner span:last-child {
    display: none;
  }

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

  .brand-copy strong {
    font-size: 0.8rem;
  }

  .brand-copy span {
    display: none;
  }

  .lang-switch {
    order: 2;
  }

  .menu-button {
    order: 3;
    margin-left: 0;
  }

  .nav-links {
    inset: 108px 14px auto;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 58px 64px;
    gap: 36px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 370px;
  }

  .hero-frame {
    inset: 12px 0 18px 14px;
    border-radius: 54px 16px 54px 16px;
  }

  .trade-tag {
    left: 0;
    bottom: 0;
  }

  .hero-facts {
    right: 6px;
  }

  .fact-bar-grid {
    grid-template-columns: 1fr;
  }

  .fact-item {
    min-height: 74px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .section {
    padding-block: 72px;
  }

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

  .card-grid,
  .service-grid,
  .value-grid,
  .product-grid,
  .process-grid,
  .contact-grid,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .service-card {
    min-height: 250px;
  }

  .process-step::before {
    margin-bottom: 28px;
  }

  .cta-wrap {
    padding-block: 56px;
  }

  .cta-panel {
    min-height: auto;
    padding: 34px 26px;
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-block: 70px 64px;
  }

  .product-card {
    grid-template-columns: 50px 1fr;
    padding: 24px;
  }

  .product-code {
    width: 50px;
    height: 50px;
  }

  .product-meta {
    grid-column: 1 / -1;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .form-card {
    padding: 26px 20px;
  }

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

  .footer-main {
    gap: 36px;
  }

  .footer-bottom {
    padding-block: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

/* Cinematic global-trade design system */
:root {
  --ink: #000000;
  --ink-soft: #000064;
  --surface: #ffffff;
  --paper: #f2f6ff;
  --paper-strong: #edf1fd;
  --line: rgba(19, 23, 54, 0.18);
  --muted: rgba(19, 23, 54, 0.6);
  --teal: #0012f0;
  --teal-deep: #0376ff;
  --gold: #bac9df;
  --blue: #0012f0;
  --blue-deep: #000064;
  --white: #ffffff;
  --shadow: 0 32px 90px rgba(0, 0, 100, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max: 1240px;
}

body {
  overflow-x: hidden;
  background: var(--surface);
  font-size: 16px;
  line-height: 1.7;
}

.container {
  width: min(calc(100% - 72px), var(--max));
}

.top-strip {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  backdrop-filter: none;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
}

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

.brand {
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  font-size: 1.1rem;
  letter-spacing: -0.06em;
}

.brand-copy strong {
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: 0.2em;
}

.brand-copy span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
}

.nav-links {
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 11px 13px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.7);
  background: transparent !important;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  content: "";
}

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

.nav-link.active {
  box-shadow: none;
}

.lang-switch {
  margin-left: 12px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.12);
}

.lang-button {
  min-width: 44px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
}

.lang-button.active {
  color: var(--ink);
  background: var(--white);
}

.floating-enquiry {
  position: fixed;
  z-index: 140;
  right: 24px;
  bottom: 24px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 13px 18px 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 15px 50px rgba(0, 0, 100, 0.22);
  backdrop-filter: blur(18px);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.floating-enquiry:hover {
  color: var(--ink);
  background: var(--teal);
  transform: translateY(-3px);
}

.hero {
  min-height: 100svh;
  color: var(--white);
  background: var(--ink);
}

.hero::before {
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 72%);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: -30%;
  pointer-events: none;
  background: radial-gradient(circle at 72% 44%, rgba(3, 118, 255, 0.2), transparent 25%);
  animation: atmosphereDrift 12s ease-in-out infinite alternate;
  content: "";
}

.hero-grid {
  min-height: 100svh;
  padding-top: 170px;
  padding-bottom: 92px;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 0;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 1020px;
}

.eyebrow {
  gap: 13px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.eyebrow.light {
  color: var(--teal);
}

.eyebrow::before {
  width: 44px;
}

.hero h1 {
  max-width: 1040px;
  font-size: clamp(4.3rem, 7.45vw, 7.6rem);
  font-weight: 470;
  letter-spacing: -0.067em;
  line-height: 0.91;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--white);
  font-style: normal;
}

.hero h1 em::after {
  width: 0.52em;
  height: 0.12em;
  display: inline-block;
  margin-left: 0.14em;
  border-radius: 999px;
  background: var(--teal);
  vertical-align: 0.14em;
  content: "";
}

.hero-lead {
  max-width: 610px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.button-row {
  margin-top: 36px;
}

.button {
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 0;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-primary {
  color: var(--ink);
  background: var(--teal);
  box-shadow: none;
}

.button-primary:hover {
  background: var(--white);
}

.button-secondary {
  background: rgba(0, 0, 0, 0.28);
}

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
}

.hero-frame {
  --hero-shift: 0px;
  inset: -5% -3%;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  box-shadow: none;
  transform: translate3d(0, var(--hero-shift), 0);
  will-change: transform;
}

.hero-frame::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.66) 38%, rgba(0, 0, 0, 0.12) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 46%);
  content: "";
}

.hero-frame::after {
  z-index: 3;
  background: linear-gradient(105deg, transparent 24%, rgba(3, 118, 255, 0.15) 48%, transparent 58%);
  transform: translateX(-120%);
  animation: lightSweep 9s ease-in-out infinite;
}

.hero-frame img {
  opacity: 0.93;
  object-position: center center;
  animation: heroCinematic 18s ease-in-out infinite alternate;
  transform-origin: 68% 50%;
  will-change: transform;
}

.trade-tag {
  left: auto;
  right: 4.3vw;
  bottom: 9vh;
  width: 176px;
  padding: 20px;
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.58);
  animation: tagFloat 5s ease-in-out infinite;
}

.trade-tag strong {
  color: var(--teal);
  font-size: 1.05rem;
}

.hero-facts {
  right: 4.3vw;
  top: 140px;
  gap: 10px;
}

.hero-fact {
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 5;
  left: max(36px, calc((100vw - var(--max)) / 2));
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll-cue i {
  position: relative;
  width: 70px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.hero-scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-100%);
  animation: scrollLine 2.4s ease-in-out infinite;
  content: "";
}

.trade-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}

.trade-marquee-track {
  width: max-content;
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: marqueeFlow 24s linear infinite;
}

.trade-marquee span {
  font-size: clamp(2.3rem, 4.6vw, 4.6rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.trade-marquee b {
  color: var(--teal);
  font-size: 2rem;
}

.fact-bar {
  color: var(--ink);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.fact-item {
  min-height: 112px;
  border-right-color: var(--line);
}

.fact-number {
  color: var(--blue);
}

.fact-item span:last-child {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section {
  padding-block: 138px;
}

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

.section-dark {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
}

.section-dark::after {
  position: absolute;
  right: -12vw;
  top: -25%;
  width: 52vw;
  aspect-ratio: 1;
  border: 1px solid rgba(3, 118, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.section-heading {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.42fr);
  gap: 96px;
  margin-bottom: 64px;
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.8rem, 5.55vw, 5.5rem);
  font-weight: 480;
  letter-spacing: -0.058em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading p {
  font-size: 0.98rem;
  line-height: 1.78;
}

.card-grid,
.service-grid,
.value-grid {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.portfolio-card,
.service-card,
.value-card {
  border: 0;
  border-radius: 0;
}

.portfolio-card {
  min-height: 390px;
  padding: 38px;
}

.portfolio-card:hover {
  z-index: 2;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(0, 18, 240, 0.24);
}

.portfolio-card:hover p,
.portfolio-card:hover .card-index,
.portfolio-card:hover .text-link {
  color: rgba(255, 255, 255, 0.84);
}

.portfolio-card::after {
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(3, 118, 255, 0.28), transparent 68%);
}

.portfolio-card h3,
.service-card h3,
.value-card h3 {
  font-size: 1.45rem;
  font-weight: 550;
  letter-spacing: -0.025em;
}

.card-index {
  color: var(--blue);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.process-grid {
  position: relative;
  z-index: 2;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.process-step {
  min-height: 310px;
  padding: 30px;
  border: 0;
  background: var(--ink);
}

.process-step::before {
  margin-bottom: 78px;
  color: var(--teal);
}

.process-step h3 {
  font-size: 1.24rem;
  font-weight: 520;
}

.cta-wrap {
  padding-block: 108px;
}

.cta-panel {
  min-height: 390px;
  padding: 64px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18)),
    url('/assets/kingsleys-trade-gateway-v2.png') center 58% / cover no-repeat;
}

.cta-panel::after {
  right: 7%;
  bottom: -44%;
  width: 360px;
  height: 360px;
  border-color: rgba(3, 118, 255, 0.32);
}

.page-hero {
  min-height: 76svh;
  padding-top: 190px;
  padding-bottom: 100px;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 78% 24%, rgba(3, 118, 255, 0.28), transparent 24%),
    linear-gradient(140deg, #000000, #000064 62%, #000064);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 85%);
  animation: backgroundGrid 18s linear infinite;
  content: "";
}

.page-hero::after {
  right: 8%;
  top: 25%;
  width: 300px;
  height: 300px;
  border-color: rgba(3, 118, 255, 0.24);
  border-radius: 50%;
  animation: slowOrbit 16s linear infinite;
}

.page-hero h1 {
  max-width: 1020px;
  font-size: clamp(3.7rem, 6.8vw, 7rem);
  font-weight: 470;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.page-hero p:last-child {
  max-width: 620px;
  margin-top: 32px;
  font-size: 1rem;
  line-height: 1.78;
}

.product-grid {
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.product-card {
  min-height: 310px;
  padding: 38px;
  border: 0;
  border-radius: 0;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  position: relative;
  z-index: 2;
  background: #f2f6ff;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-code {
  border-radius: 50%;
  color: var(--blue);
  background: rgba(3, 118, 255, 0.1);
}

.service-grid .service-card,
.value-grid .value-card {
  min-height: 320px;
  padding: 38px;
}

.service-card .card-index {
  border-radius: 50%;
  color: var(--blue);
  background: rgba(3, 118, 255, 0.09);
}

.two-column {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
  gap: 110px;
}

.prose h2 {
  font-size: clamp(2.8rem, 5.3vw, 5.4rem);
  font-weight: 480;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.detail-panel,
.contact-card,
.form-card {
  border-radius: 0;
}

.detail-panel {
  padding: 38px;
  background: var(--paper);
}

.contact-grid {
  grid-template-columns: minmax(300px, 0.5fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-card,
.form-card {
  padding: 46px;
  border: 0;
  box-shadow: none;
}

.contact-card {
  background: linear-gradient(145deg, #000000, #000064);
}

.field input,
.field select,
.field textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.site-footer {
  background: #000000;
}

.footer-main {
  padding-block: 86px 62px;
  grid-template-columns: 1.4fr 0.55fr 0.9fr;
  gap: 90px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 46px, 0);
  transition: opacity 0.85s cubic-bezier(0.2, 0.72, 0.18, 1), transform 0.85s cubic-bezier(0.2, 0.72, 0.18, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes heroCinematic {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.11) translate3d(-1.8%, -1.2%, 0); }
}

@keyframes lightSweep {
  0%, 60% { transform: translateX(-125%); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(125%); opacity: 0; }
}

@keyframes atmosphereDrift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.05); }
}

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

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

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

@keyframes backgroundGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px; }
}

@keyframes slowOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1100px) {
  .container {
    width: min(calc(100% - 48px), var(--max));
  }

  .nav-links {
    inset: 94px 24px auto;
    background: rgba(0, 0, 0, 0.97);
  }

  .nav-link.active {
    box-shadow: none;
  }

  .hero h1 {
    font-size: clamp(4rem, 9vw, 6.4rem);
  }

  .hero-facts {
    display: none;
  }

  .section-heading,
  .two-column {
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: minmax(290px, 0.56fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 30px), var(--max));
  }

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

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 0.74rem;
  }

  .lang-switch {
    margin-left: auto;
  }

  .nav-links {
    inset: 78px 12px auto;
  }

  .floating-enquiry {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    gap: 15px;
    padding: 10px 14px 10px 17px;
    font-size: 0.68rem;
  }

  .hero-grid {
    min-height: 100svh;
    padding-top: 132px;
    padding-bottom: 108px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 14vw, 5rem);
    line-height: 0.92;
  }

  .hero-lead {
    max-width: 92%;
    margin-top: 28px;
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .button-row {
    gap: 8px;
  }

  .button-row .button {
    flex: 1 1 auto;
  }

  .hero-frame {
    inset: -3% -28%;
  }

  .hero-frame::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 62%);
  }

  .hero-frame img {
    object-position: 64% center;
  }

  .trade-tag {
    right: 15px;
    bottom: 70px;
    width: 138px;
    padding: 14px;
  }

  .hero-scroll-cue {
    left: 15px;
    bottom: 27px;
  }

  .trade-marquee-track {
    min-height: 88px;
  }

  .trade-marquee span {
    font-size: 2.45rem;
  }

  .fact-item {
    min-height: 78px;
    border-bottom-color: var(--line);
  }

  .section {
    padding-block: 92px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 42px;
  }

  .section-heading h2,
  .cta-panel h2,
  .prose h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .card-grid,
  .service-grid,
  .value-grid,
  .product-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .service-grid .service-card,
  .value-grid .value-card,
  .product-card {
    min-height: 290px;
    padding: 28px;
  }

  .process-step {
    min-height: 250px;
    padding: 26px;
  }

  .process-step::before {
    margin-bottom: 46px;
  }

  .cta-wrap {
    padding-block: 64px;
  }

  .cta-panel {
    min-height: 470px;
    padding: 34px 26px;
    align-content: end;
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.18)),
      url('/assets/kingsleys-trade-gateway-v2.png') 66% center / cover no-repeat;
  }

  .page-hero {
    min-height: 70svh;
    padding-top: 148px;
    padding-bottom: 72px;
  }

  .page-hero h1 {
    font-size: clamp(3.1rem, 13vw, 4.8rem);
  }

  .page-hero::after {
    right: -80px;
    top: 24%;
    width: 230px;
    height: 230px;
  }

  .two-column,
  .contact-grid {
    gap: 1px;
  }

  .contact-card,
  .form-card {
    padding: 30px 22px;
  }

  .footer-main {
    padding-block: 66px 44px;
    gap: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame img,
  .hero-frame::after,
  .hero::after,
  .trade-tag,
  .trade-marquee-track,
  .hero-scroll-cue i::after,
  .page-hero::before,
  .page-hero::after {
    animation: none !important;
  }

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

/* Full-screen editorial homepage */
.home-cinematic {
  color: var(--white);
  background: #000000;
}

.home-cinematic .floating-enquiry {
  display: none;
}

.header-tagline {
  max-width: 158px;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.page-loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(3, 118, 255, 0.22), transparent 32%),
    #000000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.page-loader::before,
.showcase-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 11.111vw 11.111vw;
  content: "";
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-brand {
  position: absolute;
  top: 42px;
  left: 4.4vw;
  display: grid;
  gap: 7px;
  line-height: 1;
}

.page-loader-brand span {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.page-loader-brand small,
.page-loader-line {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-loader-line {
  position: absolute;
  left: 4.4vw;
  bottom: 50px;
}

.page-loader-progress {
  position: absolute;
  right: 4vw;
  bottom: 12px;
  display: flex;
  align-items: flex-start;
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 300;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.page-loader-progress small {
  margin: 0.45em 0 0 0.18em;
  color: var(--teal);
  font-size: 0.075em;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.showcase-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #000000;
}

.showcase-video,
.showcase-image-fallback,
.showcase-shade,
.showcase-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase-image-fallback {
  z-index: 0;
  background: url('/assets/kingsleys-trade-gateway-v2.png') center / cover no-repeat;
}

.showcase-video {
  --showcase-shift: 0px;
  z-index: 1;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06) translate3d(0, var(--showcase-shift), 0);
  transform-origin: center;
  will-change: transform;
}

.showcase-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.65) 42%, rgba(0, 0, 0, 0.08) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.76) 0%, transparent 42%, rgba(0, 0, 0, 0.26) 100%);
}

.showcase-grid {
  z-index: 3;
  opacity: 0.48;
  pointer-events: none;
}

.showcase-copy {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  padding-top: 23vh;
  padding-bottom: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.showcase-copy h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(4.7rem, 7.8vw, 8.2rem);
  font-weight: 430;
  letter-spacing: -0.075em;
  line-height: 0.88;
  text-wrap: balance;
}

.showcase-copy h1 em {
  color: var(--white);
  font-style: normal;
}

.showcase-copy h1 em::after {
  width: 0.48em;
  height: 0.11em;
  display: inline-block;
  margin-left: 0.13em;
  background: var(--teal);
  vertical-align: 0.13em;
  content: "";
}

.showcase-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: 1.02rem;
  line-height: 1.76;
}

.button-glass {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.button-glass:hover {
  color: var(--ink);
  background: var(--white);
}

.showcase-corners {
  position: absolute;
  z-index: 6;
  right: 4.4vw;
  bottom: 28px;
  left: 4.4vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 30px;
}

.showcase-copyright {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
}

.showcase-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.showcase-scroll i {
  position: relative;
  width: 64px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.showcase-scroll i::after {
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-100%);
  animation: scrollLine 2.4s ease-in-out infinite;
  content: "";
}

.showcase-enquiry {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 42px;
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-enquiry b {
  color: var(--teal);
  font-size: 1.05rem;
}

.capability-cinema {
  position: relative;
  min-height: 142svh;
  overflow: hidden;
  background: #000000;
}

.capability-backdrop,
.capability-overlay {
  position: absolute;
  inset: 0;
}

.capability-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.68;
  transform: scale(1.04);
}

.capability-overlay {
  background:
    linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.24) 28%, rgba(0, 0, 0, 0.38) 63%, #000000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 60%);
}

.capability-content {
  position: relative;
  z-index: 2;
  min-height: 142svh;
  padding-top: 15vh;
  padding-bottom: 8vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.capability-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.42fr);
  align-items: end;
  gap: 70px;
}

.capability-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -35px;
}

.capability-heading h2,
.global-media-content h2,
.journey-heading h2,
.home-contact-grid h2 {
  margin: 0;
  font-size: clamp(3.9rem, 6.7vw, 7rem);
  font-weight: 430;
  letter-spacing: -0.067em;
  line-height: 0.94;
  text-wrap: balance;
}

.capability-heading > p:last-child,
.journey-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.capability-agents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.capability-agent {
  position: relative;
  min-height: 370px;
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  transition: background 0.35s ease, transform 0.35s ease;
}

.capability-agent:last-child {
  border-right: 0;
}

.capability-agent:hover {
  background: rgba(0, 18, 240, 0.86);
  transform: translateY(-9px);
}

.capability-agent > span,
.portfolio-no,
.why-card > span,
.journey-steps article > span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.capability-agent h3 {
  max-width: 260px;
  margin: auto 0 18px;
  font-size: 1.75rem;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.capability-agent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  line-height: 1.7;
}

.capability-agent b,
.portfolio-panel > b {
  position: absolute;
  top: 27px;
  right: 28px;
  font-weight: 500;
}

.expansion-story,
.why-stage {
  color: var(--ink);
  background: #f2f6ff;
}

.expansion-story {
  padding: 155px 0 145px;
}

.expansion-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
  align-items: end;
  column-gap: 70px;
}

.expansion-intro .eyebrow {
  grid-column: 1 / -1;
}

.layered-heading {
  position: relative;
  max-width: 940px;
}

.layered-heading > span {
  position: absolute;
  z-index: 0;
  top: -0.68em;
  left: 0.19em;
  width: 100%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(3, 118, 255, 0.4);
  font-size: clamp(3.2rem, 7vw, 7.1rem);
  font-weight: 460;
  letter-spacing: -0.07em;
  line-height: 0.92;
  pointer-events: none;
}

.layered-heading h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(3.8rem, 6.8vw, 7rem);
  font-weight: 450;
  letter-spacing: -0.068em;
  line-height: 0.93;
  text-wrap: balance;
}

.expansion-lead {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.8;
}

.portfolio-panels {
  margin-top: 115px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portfolio-panel {
  position: relative;
  min-height: 480px;
  padding: 30px 30px 38px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transition: color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.portfolio-panel:last-child {
  border-right: 0;
}

.portfolio-panel > div {
  margin-top: auto;
}

.portfolio-panel small {
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.portfolio-panel h3 {
  margin: 14px 0 17px;
  font-size: clamp(1.85rem, 2.55vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.portfolio-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.75;
}

.portfolio-panel:hover {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-10px);
}

.portfolio-panel:hover p,
.portfolio-panel:hover small,
.portfolio-panel:hover .portfolio-no {
  color: rgba(255, 255, 255, 0.72);
}

.global-media-stage {
  position: relative;
  min-height: 110svh;
  overflow: hidden;
  background: #000000;
}

.global-media-video,
.global-media-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.global-media-video {
  object-fit: cover;
  object-position: center;
  transform: scale(1.09);
}

.global-media-shade {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 64%);
}

.global-media-content {
  position: relative;
  z-index: 2;
  min-height: 110svh;
  padding-top: 20vh;
  padding-bottom: 9vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.global-media-content h2 {
  max-width: 990px;
}

.global-media-content > p:not(.eyebrow) {
  max-width: 580px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.global-media-tags {
  width: 100%;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.global-media-tags span {
  min-height: 74px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.global-media-tags span:last-child {
  border-right: 0;
}

.why-stage {
  padding: 160px 0;
}

.why-heading .layered-heading {
  max-width: 1080px;
}

.blue-layer > span {
  top: -0.58em;
  color: rgba(0, 18, 240, 0.08);
  -webkit-text-stroke: 0;
  font-size: clamp(4.5rem, 10vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.08em;
}

.why-grid {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.why-card {
  min-height: 420px;
  padding: 33px 32px 42px;
  display: flex;
  flex-direction: column;
  background: #f2f6ff;
  transition: background 0.35s ease, color 0.35s ease;
}

.why-card h3 {
  margin: auto 0 18px;
  font-size: 2rem;
  font-weight: 510;
  letter-spacing: -0.045em;
}

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

.why-card:hover {
  color: var(--white);
  background: var(--ink);
}

.why-card:hover p {
  color: rgba(255, 255, 255, 0.62);
}

.journey-stage {
  padding: 155px 0 150px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 5%, rgba(3, 118, 255, 0.24), transparent 30%),
    #000064;
}

.journey-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.35fr);
  align-items: end;
  gap: 60px;
}

.journey-heading .eyebrow {
  grid-column: 1 / -1;
}

.journey-steps {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.journey-steps article {
  min-height: 330px;
  padding: 27px 24px 34px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.journey-steps article:last-child {
  border-right: 0;
}

.journey-steps h3 {
  margin: auto 0 18px;
  font-size: 1.35rem;
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.journey-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.home-contact-stage {
  min-height: 92svh;
  padding: 150px 0 120px;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(0, 18, 240, 0.92), rgba(0, 0, 100, 0.98)),
    #000064;
}

.home-contact-grid {
  min-height: calc(92svh - 270px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.45fr);
  align-items: center;
  gap: 100px;
}

.home-contact-grid h2 {
  max-width: 850px;
}

.home-contact-copy > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.home-contact-copy address {
  margin: 42px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.home-contact-copy .button {
  margin-top: 42px;
}

@media (max-width: 1120px) {
  .header-tagline {
    display: none;
  }

  .showcase-copy h1 {
    font-size: clamp(4rem, 9vw, 6.5rem);
  }

  .capability-heading,
  .expansion-intro,
  .journey-heading,
  .home-contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 35px;
  }

  .capability-heading .eyebrow,
  .expansion-intro .eyebrow,
  .journey-heading .eyebrow {
    margin-bottom: 0;
  }

  .capability-heading > p:last-child,
  .expansion-lead,
  .journey-heading > p:last-child,
  .home-contact-copy {
    max-width: 590px;
  }

  .capability-content,
  .capability-cinema {
    min-height: 125svh;
  }

  .portfolio-panel {
    min-height: 420px;
  }

  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-steps article:nth-child(2) {
    border-right: 0;
  }

  .journey-steps article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 40px), var(--max));
  }

  .page-loader-brand {
    top: 28px;
    left: 20px;
  }

  .page-loader-line {
    right: 20px;
    bottom: 30px;
    left: 20px;
  }

  .page-loader-progress {
    right: 22px;
    bottom: 82px;
    font-size: 8rem;
  }

  .showcase-copy {
    padding-top: 150px;
    padding-bottom: 150px;
    justify-content: flex-end;
  }

  .showcase-copy h1 {
    font-size: clamp(3.25rem, 15vw, 5rem);
    line-height: 0.91;
  }

  .showcase-copy > p:not(.eyebrow) {
    margin-top: 23px;
    font-size: 0.91rem;
  }

  .showcase-copy .button-row {
    width: 100%;
    margin-top: 28px;
  }

  .showcase-copy .button {
    width: 100%;
  }

  .showcase-corners {
    right: 20px;
    bottom: 21px;
    left: 20px;
    grid-template-columns: 1fr auto;
  }

  .showcase-copyright {
    display: none;
  }

  .showcase-scroll {
    gap: 10px;
  }

  .showcase-scroll i {
    width: 32px;
  }

  .showcase-enquiry {
    gap: 17px;
    font-size: 0.59rem;
  }

  .capability-cinema,
  .capability-content {
    min-height: auto;
  }

  .capability-content {
    padding-top: 110px;
    padding-bottom: 80px;
    gap: 180px;
  }

  .capability-heading h2,
  .global-media-content h2,
  .journey-heading h2,
  .home-contact-grid h2,
  .layered-heading h2 {
    font-size: clamp(3rem, 13vw, 4.3rem);
  }

  .capability-agents,
  .portfolio-panels,
  .why-grid,
  .global-media-tags,
  .journey-steps {
    grid-template-columns: 1fr;
  }

  .capability-agent,
  .portfolio-panel,
  .why-card,
  .journey-steps article {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .capability-agent:last-child,
  .portfolio-panel:last-child,
  .why-card:last-child,
  .journey-steps article:last-child {
    border-bottom: 0;
  }

  .expansion-story,
  .why-stage,
  .journey-stage,
  .home-contact-stage {
    padding-top: 105px;
    padding-bottom: 100px;
  }

  .layered-heading > span {
    top: -0.42em;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .blue-layer > span {
    font-size: clamp(4.6rem, 22vw, 7rem);
  }

  .portfolio-panels,
  .why-grid,
  .journey-steps {
    margin-top: 75px;
  }

  .portfolio-panel,
  .why-card {
    color: var(--ink);
    background: #f2f6ff;
    border-bottom-color: var(--line);
  }

  .portfolio-panel p,
  .why-card p {
    color: var(--muted);
  }

  .portfolio-panel:hover,
  .why-card:hover {
    transform: none;
  }

  .global-media-stage,
  .global-media-content {
    min-height: 105svh;
  }

  .global-media-content {
    padding-top: 150px;
    padding-bottom: 70px;
  }

  .global-media-tags {
    margin-top: 42px;
  }

  .global-media-tags span {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .global-media-tags span:last-child {
    border-bottom: 0;
  }

  .journey-steps article:nth-child(2) {
    border-right: 0;
  }

  .journey-steps article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .home-contact-grid {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-video,
  .global-media-video {
    display: none;
  }

  .page-loader {
    transition: none;
  }
}

/* Screenshot-matched home composition */
.home-reference-layout {
  color: #000000;
  background: #f2f6ff;
}

.home-reference-layout #site-footer,
.home-reference-layout .floating-enquiry {
  display: none;
}

.home-reference-layout .site-header {
  color: #000000;
  border-bottom-color: rgba(19, 23, 54, 0.1);
  background: linear-gradient(180deg, rgba(242, 246, 255, 0.88), rgba(242, 246, 255, 0));
}

.home-reference-layout .site-header.scrolled {
  border-bottom-color: rgba(19, 23, 54, 0.12);
  background: rgba(242, 246, 255, 0.9);
  box-shadow: 0 10px 40px rgba(0, 0, 100, 0.08);
}

.home-reference-layout .brand-mark {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  background: #0012f0;
}

.home-reference-layout .brand-copy strong,
.home-reference-layout .header-tagline {
  color: #000000;
}

.home-reference-layout .brand-copy span,
.home-reference-layout .header-tagline {
  color: rgba(19, 23, 54, 0.6);
}

.home-reference-layout .nav-link {
  color: rgba(0, 0, 0, 0.78);
}

.home-reference-layout .nav-link:hover,
.home-reference-layout .nav-link.active {
  color: #0012f0;
}

.home-reference-layout .lang-switch,
.home-reference-layout .menu-button {
  border-color: rgba(19, 23, 54, 0.16);
  color: #000000;
  background: rgba(255, 255, 255, 0.68);
}

.home-reference-layout .lang-button {
  color: rgba(0, 0, 0, 0.62);
}

.home-reference-layout .lang-button.active {
  color: #ffffff;
  background: #0012f0;
}

.replica-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #000000;
  background: #bac9df;
}

.replica-hero-video,
.replica-hero-shade,
.replica-hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.replica-hero-video {
  z-index: 0;
  object-fit: cover;
  object-position: 58% center;
  filter: brightness(1.01) saturate(1.04) contrast(1.01);
  transform: none;
  will-change: auto;
}

.replica-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(242, 246, 255, 0.88), rgba(242, 246, 255, 0.48) 36%, rgba(242, 246, 255, 0.06) 68%, transparent),
    linear-gradient(0deg, rgba(242, 246, 255, 0.58), transparent 34%, rgba(242, 246, 255, 0.08));
}

.replica-hero-grid {
  z-index: 2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 18, 240, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 18, 240, 0.16) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: linear-gradient(180deg, transparent, #000000 32%, transparent 86%);
}

.replica-hero-copy {
  position: relative;
  z-index: 3;
  min-height: 100svh;
  padding-top: 150px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.replica-kicker {
  margin: 0 0 18px;
  color: #000064;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.replica-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.6rem, 6.2vw, 6.7rem);
  font-weight: 380;
  letter-spacing: -0.067em;
  line-height: 0.95;
  text-wrap: balance;
}

.replica-hero h1 strong {
  color: #0012f0;
  font-weight: 620;
}

.replica-hero-bottom {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 28px;
  left: 0;
  display: grid;
  grid-template-columns: 0.55fr 1fr 0.55fr;
  align-items: end;
  gap: 28px;
}

.replica-copyright {
  color: rgba(0, 0, 0, 0.58);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.replica-hero-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.replica-hero-pills a {
  min-height: 42px;
  padding: 10px 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(19, 23, 54, 0.12);
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.72);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
}

.replica-enquiry {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: #0012f0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replica-platform {
  position: relative;
  overflow: hidden;
  padding: 145px 0 130px;
  background:
    radial-gradient(circle at 79% 17%, rgba(3, 118, 255, 0.22), transparent 25%),
    radial-gradient(circle at 17% 56%, rgba(3, 118, 255, 0.14), transparent 30%),
    #f2f6ff;
}

.replica-platform::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 18, 240, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 18, 240, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, transparent 4%, #000000 28%, transparent 90%);
  content: "";
}

.replica-section-head,
.replica-media-content,
.replica-why-head,
.replica-global-head {
  position: relative;
  z-index: 2;
  text-align: center;
}

.replica-section-head p {
  margin: 0;
  color: rgba(0, 0, 0, 0.78);
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  line-height: 1.2;
}

.replica-section-head p::first-letter {
  color: #0012f0;
}

.replica-section-head h2 {
  margin: 7px 0 0;
  color: #000000;
  font-size: clamp(2.5rem, 4.7vw, 5rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1;
}

.replica-section-head > span {
  display: block;
  margin-top: 20px;
  color: #000064;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.replica-platform-visual {
  position: relative;
  z-index: 2;
  min-height: 760px;
  margin-top: 55px;
}

.replica-orbit {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1120px);
  height: 650px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 120px rgba(3, 118, 255, 0.26);
  -webkit-mask-image: radial-gradient(ellipse 66% 53% at 50% 48%, #000000 52%, rgba(0, 0, 0, 0.78) 68%, transparent 90%);
  mask-image: radial-gradient(ellipse 66% 53% at 50% 48%, #000000 52%, rgba(0, 0, 0, 0.78) 68%, transparent 90%);
  transform: translateX(-50%);
}

.replica-orbit::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #f2f6ff 1%, transparent 27%, rgba(255, 255, 255, 0.08));
  content: "";
}

.replica-orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.04) saturate(1.06) contrast(0.98);
  opacity: 0.94;
}

.replica-orbit i {
  display: none;
}

.replica-orbit i:nth-of-type(1) { top: 16%; left: 49%; }
.replica-orbit i:nth-of-type(2) { top: 42%; left: 30%; font-size: 4rem; }
.replica-orbit i:nth-of-type(3) { top: 52%; right: 26%; font-size: 3rem; }

.replica-agent-grid {
  position: absolute;
  right: 6%;
  bottom: 0;
  left: 6%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.replica-agent-card {
  min-height: 350px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 80px rgba(0, 0, 100, 0.12);
  backdrop-filter: blur(22px);
  text-align: center;
}

.replica-agent-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #0012f0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(186, 201, 223, 0.36));
  box-shadow: inset 0 0 0 1px rgba(3, 118, 255, 0.18), 0 15px 40px rgba(3, 118, 255, 0.18);
  font-size: 1.1rem;
  font-weight: 850;
}

.replica-agent-card h3 {
  margin: 0 0 26px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.replica-agent-card ul,
.replica-dual-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.replica-agent-card li {
  min-height: 36px;
  padding: 8px 11px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: rgba(19, 23, 54, 0.68);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  line-height: 1.4;
}

.replica-platform-lead {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-top: 120px;
  text-align: center;
}

.replica-platform-lead p {
  margin: 0 auto 42px;
  color: rgba(19, 23, 54, 0.75);
  font-size: clamp(1.12rem, 1.7vw, 1.55rem);
  line-height: 1.5;
}

.replica-platform-lead strong,
.replica-platform-lead small {
  display: block;
}

.replica-platform-lead strong {
  color: #000064;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
}

.replica-platform-lead small {
  margin-top: 5px;
  color: #0012f0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.replica-dual-grid {
  position: relative;
  z-index: 2;
  margin-top: 95px;
  display: grid;
  grid-template-columns: 1fr 250px 1fr;
  align-items: center;
  gap: 28px;
}

.replica-dual-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid rgba(3, 118, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 24px 70px rgba(0, 0, 100, 0.08);
}

.replica-dual-card > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.replica-dual-card > div span {
  color: #0012f0;
  font-weight: 850;
}

.replica-dual-card h3,
.replica-dual-card h4 {
  margin: 0;
}

.replica-dual-card h3 {
  font-size: 1.38rem;
  font-weight: 520;
}

.replica-dual-card h4 {
  margin-top: 30px;
  color: #0012f0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.replica-dual-card ul {
  margin-top: 24px;
}

.replica-dual-card li {
  color: rgba(19, 23, 54, 0.65);
  font-size: 0.85rem;
}

.replica-dual-card li::before {
  margin-right: 9px;
  color: #0376ff;
  content: "✦";
}

.replica-sphere {
  width: 250px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.95), transparent 16%),
    radial-gradient(circle at 58% 62%, #0012f0, #0376ff 32%, rgba(3, 118, 255, 0.22) 67%, transparent 69%),
    repeating-radial-gradient(circle, rgba(0, 18, 240, 0.2) 0 1px, transparent 1px 8px);
  box-shadow: 0 20px 70px rgba(3, 118, 255, 0.38);
}

.replica-sphere span {
  color: #ffffff;
  font-size: 4rem;
  font-weight: 860;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
}

.replica-more {
  position: relative;
  z-index: 3;
  width: max-content;
  min-height: 46px;
  margin: 65px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 12px 22px;
  border-radius: 999px;
  color: #ffffff;
  background: #0012f0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  left: 50%;
  transform: translateX(-50%);
}

.replica-media {
  position: relative;
  min-height: 105svh;
  overflow: hidden;
  padding: 140px 0 125px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(0, 0, 100, 0.93), rgba(0, 18, 240, 0.48) 52%, rgba(0, 0, 100, 0.18)),
    linear-gradient(0deg, rgba(0, 0, 100, 0.5), transparent 45%),
    url('/assets/kingsleys-global-network-v2.png') 62% center / cover no-repeat,
    #000064;
}

.replica-media::before {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, #000000, transparent 75%);
  content: "";
}

.replica-media-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, 0.03), 0 0 0 130px rgba(255, 255, 255, 0.025);
  transform: translateX(-50%);
}

.replica-media-content h2,
.replica-why-head h2,
.replica-global-head h2,
.replica-contact-title h2 {
  margin: 0;
  font-size: clamp(2.65rem, 5.4vw, 5.5rem);
  font-weight: 420;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.replica-media-content > p {
  max-width: 740px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.replica-media-primary {
  max-width: 960px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.replica-media-primary a {
  min-height: 115px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 21px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(0, 0, 100, 0.5);
  box-shadow: inset 0 0 40px rgba(3, 118, 255, 0.18);
  backdrop-filter: blur(14px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.replica-media-primary a:hover {
  background: rgba(0, 18, 240, 0.72);
  transform: translateY(-4px);
}

.media-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 860;
}

.replica-media-primary strong {
  font-size: 1.2rem;
  font-weight: 620;
}

.replica-media-note {
  max-width: 800px !important;
  margin-top: 65px !important;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.85rem;
}

.replica-resource-grid {
  max-width: 1040px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px 25px;
}

.replica-resource-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.replica-why,
.replica-global {
  color: #000000;
  background: #f2f6ff;
}

.replica-why {
  padding: 140px 0 120px;
  overflow: hidden;
}

.replica-why-track {
  width: min(1500px, calc(100% + 120px));
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.replica-why-card {
  position: relative;
  min-height: 310px;
  padding: 40px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 25px 70px rgba(0, 0, 100, 0.08);
}

.replica-why-card.featured {
  background: #ffffff;
  transform: translateY(-16px);
}

.replica-why-card > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #0012f0;
  font-size: 0.72rem;
  font-weight: 850;
}

.replica-why-card h3 {
  margin: 46px 0 16px;
  color: #0012f0;
  font-size: 1.15rem;
  font-weight: 680;
}

.replica-why-card p {
  margin: 0;
  color: rgba(19, 23, 54, 0.66);
}

.replica-global {
  padding: 85px 0 140px;
}

.replica-global-head h2 {
  max-width: 1050px;
  margin-inline: auto;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
}

.replica-category-tabs {
  margin-top: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(19, 23, 54, 0.16);
}

.replica-category-tabs span {
  position: relative;
  padding: 0 7px 18px;
  color: rgba(19, 23, 54, 0.48);
  font-size: 0.74rem;
  font-weight: 750;
  white-space: nowrap;
}

.replica-category-tabs span.active {
  color: #0012f0;
}

.replica-category-tabs span.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: #0012f0;
  content: "";
}

.replica-case {
  margin-top: 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.7fr);
  align-items: stretch;
  gap: 52px;
}

.replica-case-media {
  min-height: 500px;
  overflow: hidden;
  border-radius: 18px;
  background: #bac9df;
  box-shadow: 0 28px 80px rgba(0, 0, 100, 0.12);
}

.replica-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.25) hue-rotate(6deg);
}

.replica-case-copy {
  padding: 30px 0;
}

.replica-case-copy h3 {
  margin: 0;
  color: #000064;
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  font-weight: 520;
  letter-spacing: -0.055em;
}

.replica-case-copy dl {
  margin: 45px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.replica-case-copy dl div {
  min-height: 95px;
  padding: 14px 0;
  border-top: 1px solid rgba(19, 23, 54, 0.18);
}

.replica-case-copy dt {
  color: rgba(19, 23, 54, 0.54);
  font-size: 0.68rem;
  font-weight: 700;
}

.replica-case-copy dd {
  margin: 12px 0 0;
  color: #0012f0;
  font-size: 1.05rem;
  font-weight: 760;
}

.replica-case-copy > p {
  color: rgba(19, 23, 54, 0.66);
}

.replica-more.inline {
  left: auto;
  margin: 35px 0 0;
  transform: none;
}

.replica-contact {
  min-height: 100svh;
  padding: 145px 0 70px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 18%, rgba(3, 118, 255, 0.32), transparent 28%),
    linear-gradient(145deg, #000064, #000000);
}

.replica-contact-main {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 0.72fr);
  align-items: center;
  gap: 100px;
}

.replica-contact-title > p {
  margin: 0 0 22px;
  color: #0376ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.replica-contact-title h2 {
  max-width: 660px;
  font-size: clamp(3.2rem, 5.2vw, 5.5rem);
}

.replica-contact-form {
  padding: 34px 38px;
  border-radius: 16px;
  color: #000000;
  background: #ffffff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.28);
}

.replica-contact-form > h3 {
  margin: 0 0 24px;
  font-size: 1.1rem;
  font-weight: 650;
}

.replica-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.replica-form-grid label {
  display: grid;
  gap: 7px;
}

.replica-form-grid label.wide {
  grid-column: 1 / -1;
}

.replica-form-grid label span {
  color: rgba(19, 23, 54, 0.72);
  font-size: 0.7rem;
  font-weight: 720;
}

.replica-form-grid input,
.replica-form-grid textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(19, 23, 54, 0.18);
  border-radius: 0;
  outline: 0;
  color: #000000;
  background: transparent;
  font-size: 0.86rem;
}

.replica-form-grid textarea {
  min-height: 72px;
  resize: vertical;
}

.replica-contact-form form > button {
  width: 100%;
  min-height: 45px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #0012f0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replica-contact-form form > p {
  margin: 12px 0 0;
  color: rgba(19, 23, 54, 0.48);
  font-size: 0.68rem;
  text-align: center;
}

.replica-contact-form .inquiry-result {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid rgba(3, 118, 255, 0.2);
  background: #f2f6ff;
}

.replica-contact-form .inquiry-result pre {
  color: #000000;
}

.replica-contact-footer {
  margin-top: 120px;
  padding-top: 48px;
  display: grid;
  grid-template-columns: 1fr 0.55fr 0.75fr;
  gap: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.replica-footer-brand {
  display: grid;
  align-content: start;
  gap: 4px;
}

.replica-footer-brand strong {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}

.replica-footer-brand span,
.replica-footer-brand small,
.replica-contact-footer nav a,
.replica-contact-footer address {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
}

.replica-footer-brand small {
  margin-top: 28px;
}

.replica-contact-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.replica-contact-footer nav a:hover {
  color: #ffffff;
}

.replica-contact-footer address {
  font-style: normal;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .replica-hero-bottom {
    grid-template-columns: auto 1fr;
  }

  .replica-copyright {
    display: none;
  }

  .replica-agent-grid {
    right: 0;
    left: 0;
  }

  .replica-dual-grid {
    grid-template-columns: 1fr 180px 1fr;
  }

  .replica-sphere {
    width: 180px;
  }

  .replica-resource-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .replica-contact-main {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .replica-contact-title h2 {
    max-width: 850px;
  }
}

@media (max-width: 760px) {
  .home-reference-layout .site-header {
    background: rgba(242, 246, 255, 0.88);
    backdrop-filter: blur(16px);
  }

  .home-reference-layout .nav-links {
    color: #ffffff;
    background: rgba(0, 0, 100, 0.98);
  }

  .home-reference-layout .nav-link {
    color: rgba(255, 255, 255, 0.76);
  }

  .home-reference-layout .nav-link:hover,
  .home-reference-layout .nav-link.active {
    color: #ffffff;
  }

  .replica-hero-copy {
    padding-top: 130px;
    padding-bottom: 190px;
    justify-content: center;
  }

  .replica-hero-video {
    object-position: 66% center;
  }

  .replica-hero h1 {
    font-size: clamp(3.2rem, 14vw, 4.7rem);
  }

  .replica-hero-bottom {
    right: 20px;
    left: 20px;
    grid-template-columns: 1fr;
  }

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

  .replica-hero-pills a:nth-child(n + 2) {
    display: none;
  }

  .replica-enquiry {
    justify-self: stretch;
    justify-content: space-between;
  }

  .replica-platform,
  .replica-media,
  .replica-why,
  .replica-global,
  .replica-contact {
    padding-top: 100px;
    padding-bottom: 90px;
  }

  .replica-platform-visual {
    min-height: auto;
    margin-top: 55px;
    padding-top: 260px;
  }

  .replica-orbit {
    top: 0;
    width: 620px;
    height: 400px;
  }

  .replica-agent-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
  }

  .replica-agent-card {
    min-height: 0;
  }

  .replica-platform-lead {
    margin-top: 80px;
  }

  .replica-dual-grid {
    grid-template-columns: 1fr;
  }

  .replica-sphere {
    grid-row: 1;
    width: 190px;
    margin: 0 auto 12px;
  }

  .replica-media-primary,
  .replica-resource-grid,
  .replica-case,
  .replica-form-grid,
  .replica-contact-footer {
    grid-template-columns: 1fr;
  }

  .replica-media-primary {
    margin-top: 55px;
  }

  .replica-media-primary a {
    min-height: 82px;
  }

  .replica-resource-grid {
    gap: 10px;
  }

  .replica-why-track {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
  }

  .replica-why-card.featured {
    transform: none;
  }

  .replica-category-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .replica-case {
    gap: 30px;
  }

  .replica-case-media {
    min-height: 330px;
  }

  .replica-case-copy dl {
    grid-template-columns: 1fr;
  }

  .replica-contact-main {
    gap: 45px;
  }

  .replica-contact-form {
    padding: 28px 22px;
  }

  .replica-contact-footer {
    margin-top: 80px;
    gap: 32px;
  }

  .replica-form-grid label.wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .replica-hero-video {
    display: block;
  }

  .replica-agent-card,
  .replica-dual-card,
  .replica-media-content,
  .replica-why-card,
  .replica-case,
  .replica-contact-main {
    opacity: 1;
    transform: none;
  }
}

/* Reference-aligned inner pages */
.reference-inner-layout {
  color: #000000;
  background: #f2f6ff;
}

.reference-inner-layout .floating-enquiry {
  color: #ffffff;
  border-color: rgba(0, 18, 240, 0.18);
  background: #0012f0;
  box-shadow: 0 18px 50px rgba(0, 18, 240, 0.24);
}

.reference-inner-layout .floating-enquiry:hover {
  color: #ffffff;
  background: #0376ff;
}

.reference-inner-layout .site-header {
  color: #000000;
  border-bottom-color: rgba(19, 23, 54, 0.1);
  background: linear-gradient(180deg, rgba(242, 246, 255, 0.96), rgba(242, 246, 255, 0.78));
  backdrop-filter: blur(18px);
}

.reference-inner-layout .site-header.scrolled {
  border-bottom-color: rgba(19, 23, 54, 0.12);
  background: rgba(242, 246, 255, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 100, 0.08);
}

.reference-inner-layout .brand-mark {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  background: #0012f0;
}

.reference-inner-layout .brand-copy strong,
.reference-inner-layout .header-tagline {
  color: #000000;
}

.reference-inner-layout .brand-copy span,
.reference-inner-layout .header-tagline {
  color: rgba(19, 23, 54, 0.6);
}

.reference-inner-layout .nav-link {
  color: rgba(0, 0, 0, 0.72);
}

.reference-inner-layout .nav-link:hover,
.reference-inner-layout .nav-link.active {
  color: #0012f0;
}

.reference-inner-layout .lang-switch,
.reference-inner-layout .menu-button {
  border-color: rgba(19, 23, 54, 0.16);
  color: #000000;
  background: rgba(255, 255, 255, 0.72);
}

.reference-inner-layout .lang-button {
  color: rgba(0, 0, 0, 0.62);
}

.reference-inner-layout .lang-button.active {
  color: #ffffff;
  background: #0012f0;
}

.reference-inner-layout .page-hero {
  min-height: 78svh;
  padding-top: 178px;
  padding-bottom: 104px;
  align-items: center;
  color: #000000;
  background:
    radial-gradient(circle at 78% 22%, rgba(3, 118, 255, 0.25), transparent 26%),
    radial-gradient(circle at 20% 86%, rgba(186, 201, 223, 0.52), transparent 32%),
    #f2f6ff;
}

.reference-inner-layout .page-hero::before {
  z-index: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(rgba(0, 18, 240, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 18, 240, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(90deg, #000000, rgba(0, 0, 0, 0.45) 58%, transparent 92%);
  animation: none;
}

.reference-inner-layout .page-hero::after {
  z-index: 0;
  top: 50%;
  right: -2%;
  width: min(58vw, 820px);
  height: min(58vw, 820px);
  border: 0;
  border-radius: 50%;
  opacity: 0.72;
  background: url('/assets/kingsleys-motion-globe-v2.png') center / contain no-repeat;
  filter: saturate(1.06) contrast(0.98);
  transform: translateY(-47%);
  animation: none;
}

.reference-inner-layout[data-page="services"] .page-hero::after {
  width: min(61vw, 880px);
  height: min(55vw, 760px);
  border-radius: 0;
  background-image: url('/assets/kingsleys-trade-ecosystem-v2.png');
  mask-image: radial-gradient(ellipse at center, #000000 32%, rgba(0, 0, 0, 0.82) 55%, transparent 78%);
}

.reference-inner-layout[data-page="about"] .page-hero::after {
  width: min(59vw, 850px);
  height: min(56vw, 790px);
  border-radius: 0;
  background-image: url('/assets/kingsleys-global-network-v2.png');
  mask-image: radial-gradient(ellipse at center, #000000 28%, rgba(0, 0, 0, 0.8) 56%, transparent 79%);
}

.reference-inner-layout[data-page="contact"] .page-hero::after {
  width: min(59vw, 850px);
  height: min(56vw, 790px);
  border-radius: 0;
  background-image: url('/assets/kingsleys-trade-gateway-v2.png');
  mask-image: radial-gradient(ellipse at center, #000000 28%, rgba(0, 0, 0, 0.78) 54%, transparent 79%);
}

.reference-inner-layout .page-hero .container {
  position: relative;
  z-index: 2;
}

.reference-inner-layout .page-hero .eyebrow.light {
  color: #000064;
}

.reference-inner-layout .page-hero h1 {
  max-width: 830px;
  color: #000000;
  font-size: clamp(3.6rem, 6.2vw, 6.7rem);
  font-weight: 380;
  letter-spacing: -0.067em;
  line-height: 0.95;
  text-wrap: balance;
}

.reference-inner-layout .page-hero h1::after {
  width: 0.48em;
  height: 0.1em;
  display: inline-block;
  margin-left: 0.14em;
  background: #0012f0;
  vertical-align: 0.13em;
  content: "";
}

.reference-inner-layout .page-hero p:last-child {
  max-width: 600px;
  color: rgba(19, 23, 54, 0.67);
  font-size: 1rem;
  line-height: 1.8;
}

.reference-inner-layout .section {
  position: relative;
  padding-block: 126px;
  background: #f2f6ff;
}

.reference-inner-layout .section-soft {
  background:
    radial-gradient(circle at 84% 16%, rgba(3, 118, 255, 0.13), transparent 24%),
    #edf1fd;
}

.reference-inner-layout .section-heading {
  align-items: end;
  gap: 92px;
  margin-bottom: 60px;
}

.reference-inner-layout .section-heading h2,
.reference-inner-layout .prose h2,
.reference-inner-layout .address-stage h2 {
  color: #000000;
  font-size: clamp(2.65rem, 5vw, 5rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.reference-inner-layout .section-heading p,
.reference-inner-layout .prose p {
  color: rgba(19, 23, 54, 0.66);
}

.reference-inner-layout .product-grid,
.reference-inner-layout .service-grid,
.reference-inner-layout .value-grid {
  gap: 18px;
  border: 0;
  background: transparent;
}

.reference-inner-layout .product-card,
.reference-inner-layout .service-card,
.reference-inner-layout .value-card,
.reference-inner-layout .detail-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 100, 0.08);
  backdrop-filter: blur(18px);
}

.reference-inner-layout .product-card,
.reference-inner-layout .service-card,
.reference-inner-layout .value-card {
  transition: color 0.28s ease, background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.reference-inner-layout .product-card:hover,
.reference-inner-layout .service-card:hover,
.reference-inner-layout .value-card:hover {
  color: #ffffff;
  background: #0012f0;
  transform: translateY(-7px);
  box-shadow: 0 30px 80px rgba(0, 18, 240, 0.24);
}

.reference-inner-layout .product-card:hover p,
.reference-inner-layout .product-card:hover .product-meta,
.reference-inner-layout .service-card:hover p,
.reference-inner-layout .value-card:hover p,
.reference-inner-layout .product-card:hover .product-code,
.reference-inner-layout .service-card:hover .card-index,
.reference-inner-layout .value-card:hover .card-index {
  color: rgba(255, 255, 255, 0.82);
}

.reference-inner-layout .product-card:hover .product-code,
.reference-inner-layout .service-card:hover .card-index {
  background: rgba(255, 255, 255, 0.14);
}

.reference-inner-layout .product-card h2,
.reference-inner-layout .service-card h3,
.reference-inner-layout .value-card h3 {
  color: inherit;
  font-weight: 570;
}

.reference-inner-layout .product-code,
.reference-inner-layout .service-card .card-index {
  border-radius: 16px;
  color: #0012f0;
  background: rgba(3, 118, 255, 0.1);
}

.reference-inner-layout .notice {
  padding: 24px 28px;
  border: 1px solid rgba(3, 118, 255, 0.12);
  border-left: 4px solid #0012f0;
  border-radius: 12px;
  color: rgba(19, 23, 54, 0.66);
  background: rgba(255, 255, 255, 0.72);
}

.reference-inner-layout .two-column {
  gap: 92px;
}

.reference-inner-layout .detail-panel {
  padding: 40px;
}

.reference-inner-layout .detail-row {
  border-top-color: rgba(19, 23, 54, 0.14);
}

.reference-inner-layout .cta-wrap {
  padding-block: 104px;
  background: #f2f6ff;
}

.reference-inner-layout .cta-wrap.section-soft {
  background: #edf1fd;
}

.reference-inner-layout .cta-panel {
  min-height: 360px;
  padding: 62px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 0, 100, 0.95), rgba(0, 18, 240, 0.42) 62%, rgba(0, 0, 100, 0.16)),
    url('/assets/kingsleys-trade-gateway-v2.png') 68% center / cover no-repeat,
    #000064;
  box-shadow: 0 30px 80px rgba(0, 0, 100, 0.18);
}

.reference-inner-layout .cta-panel h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
}

.reference-inner-layout .cta-panel .button-primary {
  border-radius: 999px;
  color: #ffffff;
  background: #0012f0;
}

.reference-inner-layout .cta-panel .button-primary:hover {
  color: #0012f0;
  background: #ffffff;
}

.reference-inner-layout .site-footer {
  background:
    radial-gradient(circle at 84% 10%, rgba(3, 118, 255, 0.25), transparent 28%),
    linear-gradient(145deg, #000064, #000000);
}

.reference-inner-layout .footer-main {
  padding-block: 82px 58px;
}

.reference-inner-layout .site-footer .brand-mark {
  color: #ffffff;
  background: #0012f0;
}

.reference-inner-layout .site-footer .brand-copy strong {
  color: #ffffff;
}

.reference-inner-layout .site-footer .brand-copy span {
  color: rgba(255, 255, 255, 0.52);
}

.contact-address-section {
  min-height: 72svh;
  display: flex;
  align-items: center;
}

.address-stage {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  padding: 68px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 0.85fr);
  align-items: center;
  gap: 80px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 42%, rgba(3, 118, 255, 0.19), transparent 30%),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 90px rgba(0, 0, 100, 0.11);
  backdrop-filter: blur(22px);
}

.address-stage::before {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(0, 18, 240, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(3, 118, 255, 0.04), 0 0 0 112px rgba(3, 118, 255, 0.025);
  content: "";
}

.address-stage-copy,
.address-display {
  position: relative;
  z-index: 1;
}

.address-stage h2 {
  margin: 0;
}

.address-display {
  padding: 44px;
  display: grid;
  gap: 11px;
  border-radius: 16px;
  color: #ffffff;
  background: #0012f0;
  box-shadow: 0 24px 65px rgba(0, 18, 240, 0.28);
  font-style: normal;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 560;
  line-height: 1.5;
}

.replica-address-card {
  min-height: 390px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 86% 14%, rgba(3, 118, 255, 0.18), transparent 28%),
    #ffffff;
}

.replica-address-card > p {
  margin: 0 0 18px;
  color: #0012f0;
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.replica-address-card > h3 {
  margin: 0 0 46px;
  color: #000064;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 470;
  letter-spacing: -0.055em;
  line-height: 1;
}

.replica-address-card address {
  padding-top: 26px;
  display: grid;
  gap: 7px;
  border-top: 1px solid rgba(19, 23, 54, 0.15);
  color: rgba(19, 23, 54, 0.72);
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .reference-inner-layout .page-hero::after {
    right: -15%;
    opacity: 0.48;
  }

  .address-stage {
    padding: 48px;
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .reference-inner-layout .site-header {
    background: rgba(242, 246, 255, 0.9);
  }

  .reference-inner-layout .nav-links {
    color: #ffffff;
    background: rgba(0, 0, 100, 0.98);
  }

  .reference-inner-layout .nav-link {
    color: rgba(255, 255, 255, 0.76);
  }

  .reference-inner-layout .nav-link:hover,
  .reference-inner-layout .nav-link.active {
    color: #ffffff;
  }

  .reference-inner-layout .page-hero {
    min-height: 74svh;
    padding-top: 138px;
    padding-bottom: 78px;
  }

  .reference-inner-layout .page-hero::after {
    right: -64%;
    width: 145vw;
    height: 145vw;
    opacity: 0.26;
  }

  .reference-inner-layout .page-hero h1 {
    font-size: clamp(3rem, 13vw, 4.7rem);
  }

  .reference-inner-layout .section {
    padding-block: 88px;
  }

  .reference-inner-layout .section-heading h2,
  .reference-inner-layout .prose h2,
  .reference-inner-layout .address-stage h2 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .reference-inner-layout .product-card,
  .reference-inner-layout .service-card,
  .reference-inner-layout .value-card {
    min-height: 0;
    padding: 28px;
  }

  .reference-inner-layout .service-card h3 {
    margin-top: 34px;
  }

  .reference-inner-layout .cta-panel {
    min-height: 460px;
    padding: 34px 26px;
    border-radius: 16px;
  }

  .contact-address-section {
    min-height: auto;
  }

  .address-stage {
    min-height: 520px;
    padding: 34px 24px;
    align-content: center;
    gap: 40px;
    border-radius: 16px;
  }

  .address-display {
    padding: 28px 22px;
    font-size: 0.98rem;
  }

  .replica-address-card {
    min-height: 360px;
    padding: 34px 26px;
  }
}

/* Final responsive safeguards — keep these last to win the cascade. */
@media (max-width: 1000px) {
  .reference-inner-layout .section-heading,
  .reference-inner-layout .two-column,
  .reference-inner-layout .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reference-inner-layout .section-heading,
  .reference-inner-layout .two-column {
    gap: 36px;
  }

  .reference-inner-layout .section-heading > *,
  .reference-inner-layout .two-column > *,
  .reference-inner-layout .contact-grid > * {
    min-width: 0;
    width: 100%;
  }

  .reference-inner-layout .detail-panel {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .home-reference-layout .header-tagline,
  .reference-inner-layout .header-tagline {
    display: none;
  }

  .home-reference-layout .nav-shell,
  .reference-inner-layout .nav-shell {
    gap: 10px;
  }

  .home-reference-layout .brand,
  .reference-inner-layout .brand {
    min-width: 0;
    gap: 10px;
  }

  .home-reference-layout .brand-copy,
  .reference-inner-layout .brand-copy {
    min-width: 0;
  }

  .home-reference-layout .brand-copy strong,
  .reference-inner-layout .brand-copy strong {
    overflow: hidden;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-reference-layout .lang-switch,
  .reference-inner-layout .lang-switch {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .home-reference-layout .lang-button,
  .reference-inner-layout .lang-button {
    min-width: 41px;
    padding-inline: 7px;
  }

  .home-reference-layout .menu-button,
  .reference-inner-layout .menu-button {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-left: 0;
  }

  .home-reference-layout .nav-links,
  .reference-inner-layout .nav-links {
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100svh - 96px);
    overflow-y: auto;
  }

  .reference-inner-layout main,
  .reference-inner-layout .section,
  .reference-inner-layout .cta-wrap,
  .reference-inner-layout .page-hero {
    max-width: 100%;
    overflow-x: clip;
  }

  .reference-inner-layout .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .reference-inner-layout .section-heading,
  .reference-inner-layout .two-column,
  .reference-inner-layout .contact-grid,
  .reference-inner-layout .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .reference-inner-layout .section-heading,
  .reference-inner-layout .two-column {
    gap: 28px;
  }

  .reference-inner-layout .prose,
  .reference-inner-layout .detail-panel,
  .reference-inner-layout .address-stage,
  .reference-inner-layout .address-display,
  .reference-inner-layout .cta-panel {
    min-width: 0;
    max-width: 100%;
  }

  .reference-inner-layout .prose h2,
  .reference-inner-layout .prose p,
  .reference-inner-layout .detail-row dd,
  .reference-inner-layout .address-display,
  .reference-inner-layout .cta-panel h2,
  .reference-inner-layout .cta-panel p {
    overflow-wrap: anywhere;
  }

  .reference-inner-layout .detail-panel {
    padding: 28px 22px;
  }

  .reference-inner-layout .detail-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .reference-inner-layout .footer-main {
    gap: 38px;
  }
}

@media (max-width: 390px) {
  .home-reference-layout .brand-copy strong,
  .reference-inner-layout .brand-copy strong {
    max-width: 88px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .home-reference-layout .lang-button,
  .reference-inner-layout .lang-button {
    min-width: 36px;
    padding-inline: 5px;
  }

  .home-reference-layout .menu-button,
  .reference-inner-layout .menu-button {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}
