:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #11100f;
  --panel: #211d1a;
  --panel-2: #0b1119;
  --ink: #f4f2ec;
  --muted: #aba59b;
  --faint: rgba(244, 242, 236, 0.12);
  --line: rgba(244, 242, 236, 0.16);
  --blue: #2486df;
  --blue-soft: #0b3769;
  --sand: #d8cab5;
  --shadow: rgba(0, 0, 0, 0.42);
  --inner: min(1120px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.98), rgba(14, 13, 12, 0.98) 42%, rgba(6, 8, 11, 1)),
    #07090d;
  color: var(--ink);
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.02), transparent 18%, transparent 82%, rgba(255,255,255,0.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 120px);
  opacity: 0.35;
  z-index: -2;
}

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

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 0 5vw;
  background: rgba(35, 30, 27, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.brand {
  width: 156px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.brand-logo {
  width: 156px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.45) contrast(1.12);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 6vw, 120px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  opacity: 0.86;
  transition: opacity 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

.language-switch,
.header-form {
  justify-self: end;
}

.language-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.language-switch a {
  min-width: 34px;
  padding: 5px 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.language-switch a.is-active,
.language-switch a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.header-button,
.primary-link,
.secondary-link,
.contact-form button,
.member-form button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.header-button:hover,
.primary-link:hover,
.secondary-link:hover,
.contact-form button:hover,
.member-form button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
}

main {
  position: relative;
}

.hero-section {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 112px 24px 68px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(35, 30, 27, 0.72), rgba(7, 9, 13, 0.96)),
    radial-gradient(ellipse at 50% 42%, rgba(216, 202, 181, 0.18), rgba(36, 134, 223, 0.1) 34%, transparent 58%),
    #080909;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 64px 0 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 32%, transparent 68%, rgba(0, 0, 0, 0.62)),
    linear-gradient(180deg, transparent 55%, rgba(216, 202, 181, 0.08) 72%, transparent 100%);
  pointer-events: none;
}

.hero-stage {
  position: absolute;
  inset: 64px 0 0;
  display: grid;
  place-items: center;
  opacity: 0.92;
}

.hero-ring {
  width: min(520px, 74vw);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border: 2px solid rgba(244, 242, 236, 0.48);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.28),
    inset 0 0 32px rgba(255, 255, 255, 0.12),
    0 0 95px rgba(216, 202, 181, 0.18);
}

.hero-ring::after {
  content: "";
  position: absolute;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-ring img {
  width: min(440px, 68vw);
  height: 164px;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.35) contrast(1.15);
  opacity: 0.92;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  text-align: center;
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(216, 202, 181, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0 auto;
  max-width: 980px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 52px;
  line-height: 1.08;
  font-weight: 500;
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link {
  background: #f3f0e8;
  color: #07101d;
  border-color: #f3f0e8;
}

.secondary-link {
  color: #f3f0e8;
}

.token-livechat-link {
  border-color: rgba(248, 113, 113, 0.7);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.94), rgba(220, 38, 38, 0.72));
  box-shadow: 0 16px 42px rgba(185, 28, 28, 0.24);
}

.token-livechat-link:hover {
  border-color: rgba(252, 165, 165, 0.92);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.98), rgba(239, 68, 68, 0.82));
}

.hero-stats {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.hero-stats article {
  padding: 16px 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats article:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 132px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 34px;
  font-weight: 200;
}

.section-inner {
  width: var(--inner);
  margin: 0 auto;
}

.section-panel {
  margin: 0 auto;
  padding: 92px 0;
  background: #25211e;
}

.about-section {
  border-radius: 72px 72px 0 0;
  margin-top: -1px;
  position: relative;
  z-index: 3;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 54px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.contact-section h2,
.member-panel h1,
.content-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 44px;
  line-height: 1.14;
  font-weight: 500;
  text-wrap: balance;
}

.section-copy p,
.section-heading p:not(.eyebrow),
.contact-section p,
.card-copy p,
.project-card p,
.team-grid p,
.reason-grid p,
.member-copy,
.content-hero p {
  color: var(--muted);
}

.wide-copy p {
  max-width: 880px;
  margin: 24px 0 0;
  font-size: 17px;
}

.about-note {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.about-note img {
  width: 100%;
  aspect-ratio: 1280 / 389;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
}

.about-note p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.services-section {
  padding-top: 36px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.consulting-card,
.team-grid article,
.project-card,
.reason-grid article,
.member-panel,
.content-section-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 5, 8, 0.78);
  box-shadow: 0 22px 46px var(--shadow);
}

.consulting-card {
  min-height: 480px;
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
}

.service-media {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: #0c1015;
}

.service-media::before,
.project-visual::before,
.team-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(36, 134, 223, 0.52), transparent 42%),
    linear-gradient(45deg, rgba(216, 202, 181, 0.22), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.1) 0, rgba(255,255,255,0.1) 1px, transparent 1px, transparent 30px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 30px);
  opacity: 0.95;
}

.visual-2 .service-media::before {
  background:
    linear-gradient(150deg, rgba(216, 202, 181, 0.3), transparent 46%),
    radial-gradient(ellipse at 50% 30%, rgba(36, 134, 223, 0.36), transparent 55%),
    repeating-linear-gradient(120deg, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 2px, transparent 2px, transparent 26px);
}

.visual-3 .service-media::before {
  background:
    linear-gradient(180deg, rgba(36, 134, 223, 0.32), transparent 62%),
    linear-gradient(90deg, rgba(216, 202, 181, 0.22), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.09) 0, rgba(255,255,255,0.09) 1px, transparent 1px, transparent 24px);
}

.visual-4 .service-media::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(45deg, rgba(36, 134, 223, 0.36), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0, rgba(255,255,255,0.07) 2px, transparent 2px, transparent 34px);
}

.service-media span,
.project-visual span {
  position: absolute;
  left: 20px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.card-copy {
  padding: 26px;
}

.card-copy h3,
.team-grid h3,
.project-card h3,
.reason-grid h3 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
}

.card-copy p {
  margin: 14px 0 0;
  font-size: 14px;
}

.card-copy ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.card-copy li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.card-copy li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border: 1px solid rgba(216, 202, 181, 0.78);
  transform: rotate(45deg);
}

.why-section,
.projects-section {
  padding: 104px 0;
  background: #07090d;
}

.split-title h2 {
  color: rgba(255, 255, 255, 0.88);
  font-size: 50px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.reason-grid article {
  min-height: 240px;
  padding: 28px;
}

.reason-icon {
  width: 34px;
  height: 34px;
  display: block;
  margin-bottom: 26px;
  position: relative;
}

.reason-icon::before,
.reason-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
}

.reason-icon::after {
  inset: 13px 2px 2px;
  border-radius: 0;
  border-top: 0;
}

.team-section {
  background: #171411;
}

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

.team-grid article {
  min-height: 430px;
  padding: 0 0 28px;
  overflow: hidden;
}

.team-portrait {
  position: relative;
  height: 250px;
  background: #06080c;
  overflow: hidden;
}

.team-portrait::before {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.48)),
    linear-gradient(135deg, rgba(36, 134, 223, 0.36), transparent 48%),
    linear-gradient(45deg, rgba(216, 202, 181, 0.22), transparent 54%);
}

.team-grid h3,
.team-grid p,
.team-grid a {
  margin-left: 26px;
  margin-right: 26px;
}

.team-grid h3 {
  margin-top: 24px;
}

.team-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.project-card {
  overflow: hidden;
  min-height: 420px;
}

.project-visual {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #0b1018;
}

.project-visual::before {
  background:
    linear-gradient(135deg, rgba(36, 134, 223, 0.42), transparent 42%),
    linear-gradient(45deg, rgba(216, 202, 181, 0.2), transparent 44%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 24px);
}

.project-card > div:last-child {
  padding: 24px;
}

.project-card p {
  margin: 12px 0 0;
}

.contact-section {
  background: #25211e;
  border-radius: 0 0 72px 72px;
  margin-bottom: 74px;
}

.contact-section h2 {
  margin-top: 0;
}

.contact-logo {
  width: min(520px, 100%);
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.contact-logo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.22) contrast(1.12);
}

.contact-form,
.member-form {
  display: grid;
  gap: 16px;
}

.contact-form {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 5, 8, 0.72);
}

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

label,
fieldset {
  min-width: 0;
}

label span,
legend {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 12px 13px;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(36, 134, 223, 0.8);
  box-shadow: 0 0 0 3px rgba(36, 134, 223, 0.18);
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

fieldset input,
.check-row input {
  width: auto;
  min-height: auto;
}

.contact-form button,
.member-form button {
  border-color: #f3f0e8;
  background: #f3f0e8;
  color: #07101d;
}

.form-success,
.form-alert {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  background: rgba(36, 134, 223, 0.16);
}

.form-alert {
  background: rgba(166, 51, 51, 0.2);
}

.site-footer {
  width: var(--inner);
  margin: 0 auto;
  padding: 0 0 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.site-footer > div,
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #ffffff;
}

.member-page,
.content-shell {
  min-height: 100vh;
  background: #08090c;
}

.impersonation-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid rgba(124,199,255,0.26);
  color: #ffffff;
  background: rgba(10,35,54,0.96);
  font-size: 14px;
  font-weight: 800;
}

.impersonation-banner form {
  margin: 0;
}

.impersonation-banner button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.34);
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  font: inherit;
  cursor: pointer;
}

.impersonation-banner button:hover {
  background: rgba(255,255,255,0.14);
}

.member-shell,
.content-shell {
  width: var(--inner);
  margin: 0 auto;
  padding: 124px 0 72px;
}

.member-panel {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px;
}

.dashboard-panel {
  max-width: 760px;
}

.member-overview-panel {
  max-width: 1120px;
}

.member-alert {
  width: min(100%, 1120px);
  margin: 0 auto 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  font-weight: 800;
}

.member-alert-success {
  border-color: rgba(74,222,128,0.34);
  background: rgba(34,197,94,0.12);
}

.member-alert-error {
  border-color: rgba(248,113,113,0.34);
  background: rgba(185,28,28,0.16);
}

.member-copy {
  margin: 16px 0 26px;
}

.member-switch a {
  color: #ffffff;
  font-weight: 800;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.account-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.account-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
}

.account-list dt {
  color: var(--muted);
}

.account-list dd {
  margin: 0;
  color: #fff;
}

.member-quick-actions,
.order-detail-actions,
.pending-actions,
.table-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.table-actions form {
  margin: 0;
}

.member-quick-actions {
  margin: 24px 0;
}

.member-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.member-summary-grid div {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(4,8,12,0.62);
}

.member-summary-grid dt {
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-summary-grid dd {
  display: grid;
  gap: 4px;
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.05;
}

.member-summary-grid dd span {
  display: block;
}

.purchase-panel {
  max-width: 1120px;
  margin-top: 28px;
}

.pending-panel,
.order-detail-panel {
  max-width: 1120px;
  margin-top: 28px;
}

.member-section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 5vw, 54px);
}

.empty-state {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.purchase-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.11);
  background: rgba(4,8,12,0.68);
}

.purchase-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.purchase-table th,
.purchase-table td {
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  vertical-align: top;
}

.purchase-table th {
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-table tr:last-child td {
  border-bottom: 0;
}

.purchase-table td {
  color: #f7fbff;
  font-size: 15px;
  line-height: 1.5;
}

.purchase-table td strong,
.purchase-table td span {
  display: block;
}

.purchase-table td span {
  margin-top: 6px;
  color: rgba(235,242,250,0.58);
  font-size: 12px;
  word-break: break-all;
}

.pending-payment-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pending-payment-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(4,8,12,0.68);
}

.pending-payment-list strong,
.pending-payment-list span {
  display: block;
}

.pending-payment-list span {
  margin-top: 6px;
  color: rgba(235,242,250,0.58);
  font-size: 13px;
  word-break: break-all;
}

.order-detail-actions {
  margin: 24px 0;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.order-detail-grid.compact {
  grid-template-columns: 1fr;
}

.order-detail-grid div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(4,8,12,0.62);
}

.order-detail-grid dt {
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-detail-grid dd {
  margin: 10px 0 0;
  color: #ffffff;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.order-detail-grid a {
  color: #8ccfff;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(124,199,255,0.32);
  color: #aee0ff;
  background: rgba(14,78,116,0.22);
  font-size: 13px;
  font-weight: 800;
}

.status-paid {
  border-color: rgba(74,222,128,0.36);
  color: #9df0b4;
  background: rgba(34,197,94,0.13);
}

.status-failed,
.status-expired {
  border-color: rgba(248,113,113,0.34);
  color: #ffc2c2;
  background: rgba(185,28,28,0.16);
}

.status-new {
  border-color: rgba(124,199,255,0.34);
  color: #aee0ff;
  background: rgba(14,78,116,0.2);
}

.status-reviewing {
  border-color: rgba(250,204,21,0.34);
  color: #fde68a;
  background: rgba(161,98,7,0.16);
}

.status-quoted,
.status-payment_link_sent {
  border-color: rgba(74,222,128,0.36);
  color: #9df0b4;
  background: rgba(34,197,94,0.13);
}

.status-closed {
  border-color: rgba(148,163,184,0.28);
  color: rgba(226,232,240,0.74);
  background: rgba(51,65,85,0.2);
}

.member-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(124,199,255,0.5);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  background: rgba(20,108,160,0.28);
  cursor: pointer;
}

.member-link-button:hover {
  border-color: rgba(124,199,255,0.9);
  background: rgba(20,108,160,0.42);
}

.member-link-muted {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

.member-link-muted:hover {
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.08);
}

.member-link-success {
  border-color: rgba(74,222,128,0.42);
  color: #dcffe7;
  background: rgba(34,197,94,0.16);
}

.member-link-success:hover {
  border-color: rgba(74,222,128,0.7);
  background: rgba(34,197,94,0.24);
}

.member-link-danger {
  border-color: rgba(248,113,113,0.52);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(185,28,28,0.76), rgba(220,38,38,0.48));
}

.member-link-danger:hover {
  border-color: rgba(252,165,165,0.86);
  background: linear-gradient(135deg, rgba(220,38,38,0.9), rgba(239,68,68,0.62));
}

.table-muted {
  color: rgba(235,242,250,0.45);
}

.admin-panel {
  max-width: 1180px;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.admin-summary-grid article {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(4,8,12,0.62);
}

.admin-summary-grid span,
.plan-card span,
.admin-filter-form label span {
  display: block;
  color: rgba(255,255,255,0.56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-summary-grid strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
}

.consultation-summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-filter-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(170px, 0.6fr) minmax(220px, 0.8fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-filter-form input,
.admin-filter-form select {
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  background: rgba(5,8,12,0.84);
  outline: 0;
}

.admin-filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.plan-card {
  min-height: 320px;
  padding: 20px;
  border: 1px solid rgba(124,199,255,0.18);
  background: linear-gradient(180deg, rgba(18,38,54,0.58), rgba(4,8,12,0.84));
}

.plan-card h3 {
  min-height: 64px;
  margin: 14px 0 12px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
}

.plan-card strong {
  display: block;
  margin-bottom: 14px;
  color: #aee0ff;
  font-size: 18px;
}

.plan-card p,
.plan-card li {
  color: rgba(235,242,250,0.68);
  font-size: 14px;
}

.plan-card ul {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-left: 18px;
}

.admin-table-wrap {
  margin-top: 24px;
}

.admin-payment-table {
  min-width: 1220px;
}

.admin-payment-table td:nth-child(1),
.admin-payment-table td:nth-child(6),
.admin-payment-table td:nth-child(7) {
  word-break: break-all;
}

.consultation-form {
  max-width: 920px;
  margin-top: 24px;
}

.token-livechat-panel {
  max-width: 920px;
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(248,113,113,0.42);
  color: rgba(255,255,255,0.84);
  background:
    linear-gradient(135deg, rgba(185,28,28,0.2), rgba(7,9,13,0.76)),
    rgba(30,6,8,0.54);
}

.token-livechat-panel strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.token-livechat-panel p {
  margin: 8px 0 0;
  color: rgba(255,226,226,0.78);
}

.admin-consultation-table {
  min-width: 1060px;
}

.member-password-form {
  max-width: 520px;
  margin-top: 24px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.content-hero {
  padding: 54px 0;
}

.content-section-list {
  display: grid;
  gap: 14px;
}

.content-section-card {
  padding: 28px;
}

.content-section-card h2 {
  margin: 0 0 14px;
}

.plans-page {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.98), rgba(14, 13, 12, 0.98) 44%, rgba(5, 8, 12, 1)),
    #07090d;
}

.plans-shell {
  width: var(--inner);
  margin: 0 auto;
  padding: 126px 0 76px;
}

.plans-hero {
  max-width: 980px;
  padding: 54px 0 42px;
}

.plans-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1;
  font-weight: 600;
  text-wrap: balance;
}

.plans-hero p {
  max-width: 880px;
  margin: 24px 0 0;
  color: rgba(235,242,250,0.72);
  font-size: 19px;
}

.plans-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.plans-hero-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(124,199,255,0.24);
  color: rgba(235,242,250,0.76);
  background: rgba(4,8,12,0.62);
  font-size: 13px;
  font-weight: 800;
}

.public-plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.public-plan-card {
  display: grid;
  min-height: 520px;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(124,199,255,0.2);
  background:
    linear-gradient(160deg, rgba(35,88,128,0.42), rgba(4,8,12,0.86) 48%),
    rgba(4,8,12,0.78);
  box-shadow: 0 22px 46px var(--shadow);
}

.public-plan-card-head span {
  display: block;
  color: #8ccfff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.public-plan-card h2 {
  min-height: 92px;
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.15;
}

.public-plan-card strong {
  display: block;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
}

.public-plan-card p,
.public-plan-card li {
  color: rgba(235,242,250,0.68);
  font-size: 14px;
}

.public-plan-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.public-plan-actions {
  display: grid;
  gap: 10px;
}

.public-plan-actions .primary-link,
.public-plan-actions .secondary-link {
  justify-content: center;
  width: 100%;
}

.purchase-proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  margin-top: 72px;
  padding: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(33,29,26,0.72);
}

.purchase-proof-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.08;
}

.purchase-proof-panel p {
  margin: 18px 0 0;
  color: rgba(235,242,250,0.68);
}

.purchase-proof-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.purchase-proof-panel dl div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(4,8,12,0.62);
}

.purchase-proof-panel dt {
  color: #8ccfff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-proof-panel dd {
  margin: 8px 0 0;
  color: #ffffff;
}

.checkout-shell {
  max-width: 1180px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.checkout-plan-summary,
.checkout-form,
.checkout-success-panel {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(4,8,12,0.78);
  box-shadow: 0 22px 46px var(--shadow);
}

.checkout-plan-summary {
  min-height: 620px;
  padding: 36px;
}

.checkout-plan-summary h1,
.checkout-success-panel h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
}

.checkout-plan-summary strong {
  display: block;
  margin-top: 24px;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
}

.checkout-plan-summary p,
.checkout-success-panel p,
.checkout-form p,
.checkout-form small {
  color: rgba(235,242,250,0.68);
}

.checkout-plan-summary ul {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding-left: 20px;
  color: rgba(235,242,250,0.76);
}

.checkout-plan-summary > span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(124,199,255,0.32);
  color: #8ccfff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.checkout-form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.checkout-form h2 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.12;
}

.checkout-form p {
  margin: 0;
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form label span {
  color: rgba(255,255,255,0.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  background: rgba(5,8,12,0.86);
  outline: 0;
}

.checkout-form button {
  min-height: 52px;
  border: 0;
  color: #ffffff;
  background: #0b72b9;
  font-weight: 900;
  cursor: pointer;
}

.checkout-form button:hover {
  background: #1687d5;
}

.checkout-form small {
  font-size: 12px;
}

.checkout-success-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px;
}

.checkout-success-panel img {
  width: 230px;
  margin-bottom: 34px;
}

.checkout-success-panel dl {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.checkout-success-panel dl div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
}

.checkout-success-panel dt {
  color: rgba(255,255,255,0.56);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-success-panel dd {
  margin: 0;
  color: #ffffff;
  word-break: break-word;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    padding: 0 24px;
  }

  .nav-links {
    gap: 24px;
  }

  .language-switch {
    display: none;
  }

  .service-showcase,
  .reason-grid,
  .public-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid,
  .purchase-proof-panel,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --inner: min(100% - 28px, 1120px);
  }

  .site-header {
    height: auto;
    min-height: 64px;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 8px 14px;
  }

  .brand,
  .brand-logo {
    width: 132px;
    height: 40px;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 13px;
  }

  .header-button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-section {
    min-height: 860px;
    padding-top: 132px;
  }

  .hero-stage {
    inset: 96px 0 0;
  }

  .hero-ring {
    width: min(360px, 88vw);
  }

  .hero-ring img {
    height: 112px;
  }

  .hero-content {
    padding-top: 32px;
  }

  .hero-content h1,
  .split-title h2 {
    font-size: 34px;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-section h2,
  .member-panel h1,
  .content-hero h1 {
    font-size: 31px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    bottom: 26px;
  }

  .hero-stats article {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero-stats article:last-child {
    border-bottom: 0;
  }

  .scroll-cue {
    display: none;
  }

  .section-panel,
  .why-section,
  .projects-section {
    padding: 64px 0;
  }

  .about-section,
  .contact-section {
    border-radius: 34px;
  }

  .service-showcase,
  .reason-grid,
  .public-plan-grid,
  .form-row,
  fieldset {
    grid-template-columns: 1fr;
  }

  .consulting-card,
  .public-plan-card {
    min-height: auto;
  }

  .plans-shell {
    padding-top: 132px;
  }

  .plans-hero {
    padding-top: 24px;
  }

  .plans-hero h1 {
    font-size: 38px;
  }

  .plans-hero p {
    font-size: 16px;
  }

  .public-plan-card h2 {
    min-height: auto;
  }

  .purchase-proof-panel {
    margin-top: 42px;
    padding: 24px;
  }

  .checkout-plan-summary,
  .checkout-form,
  .checkout-success-panel {
    min-height: auto;
    padding: 24px;
  }

  .checkout-success-panel dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: grid;
  }

  .member-panel {
    padding: 28px 0;
  }

  .impersonation-banner {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .impersonation-banner button {
    width: 100%;
  }

  .member-alert {
    width: 100%;
  }

  .member-summary-grid,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .member-summary-grid div {
    min-height: auto;
  }

  .account-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pending-payment-list article {
    grid-template-columns: 1fr;
  }

  .member-quick-actions,
  .order-detail-actions,
  .pending-actions,
  .table-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pending-actions form,
  .order-detail-actions form,
  .table-actions form {
    width: 100%;
  }

  .purchase-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .purchase-table,
  .purchase-table thead,
  .purchase-table tbody,
  .purchase-table tr,
  .purchase-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .purchase-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .purchase-table tr {
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(4,8,12,0.72);
  }

  .purchase-table td {
    display: grid;
    grid-template-columns: minmax(98px, 34%) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    word-break: break-word;
  }

  .purchase-table td::before {
    content: attr(data-label);
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .purchase-table td:last-child {
    border-bottom: 0;
  }

  .member-link-button {
    justify-content: center;
    width: 100%;
  }

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

  .admin-filter-form,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-actions,
  .admin-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-card {
    min-height: auto;
  }
}

/* Final brand alignment pass */
.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.nav-links {
  justify-self: center;
}

.header-button {
  justify-self: end;
}

.hero-ring img {
  position: absolute;
  top: 92px;
  left: 50%;
  width: min(390px, 58vw);
  height: 120px;
  transform: translateX(-50%);
}

.scroll-cue {
  display: none;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-button {
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero-ring img {
    top: 70px;
    width: min(290px, 74vw);
    height: 92px;
  }
}

.brand-logo,
.hero-ring img,
.contact-logo img {
  mix-blend-mode: screen;
  filter: brightness(1.85) contrast(1.75) saturate(1.15);
}

.hero-ring img {
  opacity: 0.72;
}

.brand-logo {
  opacity: 0.9;
}

.brand-logo,
.hero-ring img,
.contact-logo img {
  filter: brightness(1.25) contrast(3.4) saturate(1.45);
}

.hero-ring img {
  opacity: 0.82;
}

.brand-logo,
.hero-ring img,
.contact-logo img {
  mix-blend-mode: normal;
  filter: invert(1) hue-rotate(180deg) brightness(1.08) contrast(1.12) saturate(1.18);
  opacity: 0.96;
}

.hero-ring img {
  background: transparent;
}

.hero-content > .eyebrow {
  display: none;
}

.hero-ring img {
  top: 42px;
}

@media (max-width: 760px) {
  .hero-ring img {
    top: 44px;
  }
}

.hero-ring img {
  top: 64px;
  width: min(330px, 56vw);
  height: 98px;
}

@media (max-width: 760px) {
  .hero-ring img {
    top: 58px;
    width: min(250px, 72vw);
    height: 76px;
  }
}

@media (max-width: 760px) {
  .hero-section {
    display: block;
    min-height: 940px;
    padding: 120px 14px 290px;
  }

  .hero-stage {
    inset: 118px 0 auto;
    height: 330px;
  }

  .hero-ring {
    width: min(310px, 82vw);
  }

  .hero-ring img {
    top: 48px;
    width: min(230px, 66vw);
    height: 70px;
  }

  .hero-content {
    padding-top: 300px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 22px;
  }
}

/* Transparent SVG wordmark pass */
.brand-logo,
.hero-ring img,
.contact-logo img {
  mix-blend-mode: normal;
  filter: none;
  opacity: 1;
  object-fit: contain;
  object-position: center;
}

.brand-logo {
  width: 156px;
  height: 46px;
}

.hero-ring img {
  top: 54px;
  width: min(310px, 54vw);
  height: 86px;
  background: transparent;
}

.contact-logo img {
  height: 150px;
}

@media (max-width: 760px) {
  .brand,
  .brand-logo {
    width: 132px;
    height: 40px;
  }

  .hero-ring img {
    top: 52px;
    width: min(230px, 68vw);
    height: 64px;
  }
}

/* Sharp logo rendering pass */
.brand-logo,
.hero-ring img,
.contact-logo img {
  filter: none;
  mix-blend-mode: normal;
  image-rendering: auto;
  opacity: 1;
}

.brand-logo {
  width: 172px;
  height: 48px;
}

.hero-ring img {
  top: 50px;
  width: min(350px, 58vw);
  height: 92px;
}

@media (max-width: 760px) {
  .brand,
  .brand-logo {
    width: 148px;
    height: 42px;
  }

  .hero-ring img {
    top: 46px;
    width: min(260px, 72vw);
    height: 74px;
  }
}

/* AI service card illustrations */
.consulting-card {
  grid-template-rows: 220px 1fr;
  min-height: 530px;
}

.service-media {
  background: #05090f;
}

.service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.06) brightness(0.86);
  opacity: 0.94;
  transform: scale(1.01);
}

.service-media::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 5, 8, 0) 45%, rgba(2, 5, 8, 0.72) 100%),
    radial-gradient(circle at 50% 45%, rgba(46, 181, 255, 0.2), rgba(2, 5, 8, 0) 62%);
  opacity: 1;
  pointer-events: none;
}

.service-media span {
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(46, 181, 255, 0.55);
}

.visual-1 .service-media img {
  object-position: center 46%;
}

.visual-2 .service-media img {
  object-position: center 44%;
}

.visual-3 .service-media img {
  object-position: center 46%;
}

.visual-4 .service-media img {
  object-position: center 48%;
}

@media (max-width: 760px) {
  .consulting-card {
    grid-template-rows: 230px 1fr;
    min-height: auto;
  }

  .service-media {
    min-height: 230px;
  }
}
/* Why Paladin trust card refinement */
.why-section {
  padding: 96px 0 108px;
  background:
    radial-gradient(circle at 14% 14%, rgba(46, 181, 255, 0.12), rgba(46, 181, 255, 0) 32%),
    linear-gradient(180deg, #05080b 0%, #07090d 100%);
}

.why-section .section-heading {
  max-width: 980px;
  margin-bottom: 0;
}

.split-title h2 {
  max-width: 980px;
  color: #f4f7fb;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.reason-grid {
  gap: 16px;
  margin-top: 44px;
}

.reason-grid article {
  position: relative;
  min-height: 292px;
  padding: 30px 28px 28px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(12, 18, 26, 0.92), rgba(3, 6, 9, 0.96)),
    radial-gradient(circle at 22% 0%, rgba(46, 181, 255, 0.13), rgba(46, 181, 255, 0) 48%);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.reason-grid article::before {
  position: absolute;
  top: 28px;
  right: 26px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.reason-grid article:nth-child(1)::before { content: "01"; }
.reason-grid article:nth-child(2)::before { content: "02"; }
.reason-grid article:nth-child(3)::before { content: "03"; }
.reason-grid article:nth-child(4)::before { content: "04"; }

.reason-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(46, 181, 255, 0.16), rgba(46, 181, 255, 0) 34%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 48%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.reason-grid article > * {
  position: relative;
  z-index: 1;
}

.reason-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 190, 255, 0.42);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38), 0 0 34px rgba(46, 181, 255, 0.08);
}

.reason-grid article:hover::after {
  opacity: 1;
}

.reason-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  border: 1px solid rgba(82, 190, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(46, 181, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(2, 7, 12, 0.62);
  box-shadow: inset 0 0 22px rgba(46, 181, 255, 0.1);
}

.reason-icon::before,
.reason-icon::after {
  content: "";
  position: absolute;
  inset: auto;
  border: 0;
}

.reason-grid article:nth-child(1) .reason-icon::before {
  left: 13px;
  top: 13px;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(246, 251, 255, 0.88);
  border-radius: 50%;
}

.reason-grid article:nth-child(1) .reason-icon::after {
  left: 26px;
  top: 9px;
  width: 2px;
  height: 36px;
  background: rgba(82, 190, 255, 0.74);
  box-shadow: -17px 17px 0 rgba(82, 190, 255, 0.74), 17px 17px 0 rgba(82, 190, 255, 0.74);
  transform: rotate(45deg);
}

.reason-grid article:nth-child(2) .reason-icon::before {
  left: 11px;
  top: 26px;
  width: 32px;
  height: 2px;
  background: rgba(82, 190, 255, 0.74);
}

.reason-grid article:nth-child(2) .reason-icon::after {
  left: 10px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(246, 251, 255, 0.92);
  box-shadow: 17px 0 0 rgba(82, 190, 255, 0.86), 34px 0 0 rgba(246, 251, 255, 0.92);
}

.reason-grid article:nth-child(3) .reason-icon::before {
  left: 13px;
  top: 12px;
  width: 24px;
  height: 18px;
  border: 2px solid rgba(246, 251, 255, 0.86);
  border-radius: 5px;
  box-shadow: 8px 9px 0 -2px rgba(82, 190, 255, 0.92);
}

.reason-grid article:nth-child(3) .reason-icon::after {
  left: 25px;
  top: 31px;
  width: 2px;
  height: 11px;
  background: rgba(82, 190, 255, 0.74);
  box-shadow: -10px -6px 0 rgba(82, 190, 255, 0.6), 10px -6px 0 rgba(82, 190, 255, 0.6);
}

.reason-grid article:nth-child(4) .reason-icon::before {
  left: 15px;
  top: 10px;
  width: 24px;
  height: 30px;
  background: rgba(82, 190, 255, 0.18);
  clip-path: polygon(50% 0, 96% 18%, 88% 70%, 50% 100%, 12% 70%, 4% 18%);
  outline: 2px solid rgba(246, 251, 255, 0.72);
}

.reason-grid article:nth-child(4) .reason-icon::after {
  left: 22px;
  top: 24px;
  width: 14px;
  height: 8px;
  border-left: 2px solid #f6fbff;
  border-bottom: 2px solid #f6fbff;
  transform: rotate(-45deg);
}

.reason-grid h3 {
  font-size: 23px;
  line-height: 1.16;
}

.reason-grid p {
  max-width: 24ch;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .why-section {
    padding: 76px 0 84px;
  }

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

  .split-title h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .reason-grid {
    gap: 12px;
    margin-top: 30px;
  }

  .reason-grid article {
    min-height: auto;
    padding: 24px;
  }

  .reason-grid article::before {
    top: 24px;
    right: 22px;
  }

  .reason-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
  }

  .reason-grid h3 {
    max-width: 12ch;
    font-size: 22px;
  }

  .reason-grid p {
    max-width: none;
    margin-top: 14px;
  }
}
/* Why Paladin icon polish */
.reason-grid article:nth-child(1) .reason-icon::after {
  left: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  background:
    linear-gradient(90deg, transparent 0 15px, rgba(82, 190, 255, 0.8) 15px 17px, transparent 17px),
    linear-gradient(0deg, transparent 0 15px, rgba(82, 190, 255, 0.8) 15px 17px, transparent 17px);
  box-shadow: none;
  transform: none;
}
/* About Paladin visual card refinement */
.about-section {
  overflow: hidden;
  padding: 106px 0 104px;
  background:
    radial-gradient(circle at 82% 16%, rgba(46, 181, 255, 0.12), rgba(46, 181, 255, 0) 32%),
    radial-gradient(circle at 12% 6%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #25211e 0%, #1d1a17 100%);
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.2;
  pointer-events: none;
}

.about-section .section-inner {
  position: relative;
  z-index: 1;
}

.about-grid {
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: 76px;
  align-items: center;
}

.about-section .section-copy h2 {
  max-width: 780px;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.08;
  letter-spacing: 0;
}

.wide-copy p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.65;
}

.about-note {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(9, 14, 20, 0.94), rgba(3, 6, 9, 0.96)),
    rgba(0, 0, 0, 0.34);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), 0 0 42px rgba(46, 181, 255, 0.06);
}

.about-note::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 181, 255, 0.18), transparent 38%);
  opacity: 0.7;
  pointer-events: none;
}

.about-visual {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: #05080c;
}

.about-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 52%;
  background: transparent;
  filter: saturate(1.08) contrast(1.08) brightness(0.9);
  transform: scale(1.02);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 5, 8, 0.02) 0%, rgba(2, 5, 8, 0.68) 100%),
    radial-gradient(circle at 50% 22%, rgba(46, 181, 255, 0.24), transparent 52%);
  pointer-events: none;
}

.about-visual span {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 18px;
  color: #f6fbff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(46, 181, 255, 0.55);
}

.about-note-body {
  position: relative;
  z-index: 1;
  padding: 26px 28px 30px;
}

.about-note-logo {
  width: 180px;
  height: 52px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.about-note p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.about-note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.about-note-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(82, 190, 255, 0.28);
  color: rgba(246, 251, 255, 0.82);
  background: rgba(46, 181, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .about-section {
    padding: 78px 0 76px;
    border-radius: 42px 42px 0 0;
  }

  .about-grid {
    gap: 32px;
  }

  .about-section .section-copy h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .wide-copy p {
    font-size: 16px;
    line-height: 1.62;
  }

  .about-visual {
    height: 260px;
  }

  .about-note-body {
    padding: 24px;
  }
}
/* About Paladin final polish */
.about-section .section-copy h2 {
  max-width: 720px;
  font-size: clamp(38px, 4.1vw, 56px);
  line-height: 1.1;
}

.about-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 70px;
}

.about-note-body {
  padding: 24px 28px 28px;
}

.about-note .about-note-logo {
  display: block;
  width: 178px;
  height: 50px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}

.about-note p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.55;
}

.about-note-tags {
  margin-top: 20px;
}

@media (max-width: 760px) {
  .about-section .section-copy h2 {
    max-width: none;
    font-size: 33px;
  }

  .about-grid {
    gap: 30px;
  }

  .about-note .about-note-logo {
    width: 160px;
    height: 46px;
  }
}
/* Why Paladin final polish */
.why-section {
  padding: 88px 0 98px;
}

.why-section .section-heading {
  max-width: 940px;
}

.split-title h2 {
  max-width: 940px;
  font-size: clamp(36px, 4.25vw, 58px);
  line-height: 1.09;
}

.reason-grid {
  gap: 14px;
  margin-top: 38px;
}

.reason-grid article {
  min-height: 260px;
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(10, 15, 22, 0.88), rgba(3, 6, 9, 0.96)),
    radial-gradient(circle at 22% 0%, rgba(46, 181, 255, 0.08), rgba(46, 181, 255, 0) 48%);
}

.reason-grid article::before {
  top: 26px;
  right: 24px;
  color: rgba(255, 255, 255, 0.24);
}

.reason-grid article:hover {
  transform: translateY(-1px);
  border-color: rgba(82, 190, 255, 0.28);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34), 0 0 22px rgba(46, 181, 255, 0.045);
}

.reason-grid article:hover::after {
  opacity: 0.58;
}

.reason-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-color: rgba(82, 190, 255, 0.28);
  box-shadow: inset 0 0 16px rgba(46, 181, 255, 0.08);
}

.reason-grid article:nth-child(1) .reason-icon::before {
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
}

.reason-grid article:nth-child(1) .reason-icon::after {
  left: 8px;
  top: 8px;
  width: 32px;
  height: 32px;
}

.reason-grid article:nth-child(2) .reason-icon::before {
  left: 10px;
  top: 23px;
  width: 28px;
}

.reason-grid article:nth-child(2) .reason-icon::after {
  left: 9px;
  top: 19px;
  box-shadow: 15px 0 0 rgba(82, 190, 255, 0.78), 30px 0 0 rgba(246, 251, 255, 0.86);
}

.reason-grid article:nth-child(3) .reason-icon::before {
  left: 12px;
  top: 11px;
  width: 22px;
  height: 17px;
}

.reason-grid article:nth-child(3) .reason-icon::after {
  left: 23px;
  top: 29px;
}

.reason-grid article:nth-child(4) .reason-icon::before {
  left: 13px;
  top: 9px;
  width: 22px;
  height: 28px;
}

.reason-grid article:nth-child(4) .reason-icon::after {
  left: 20px;
  top: 22px;
}

.reason-grid h3 {
  font-size: 21.5px;
  line-height: 1.15;
}

.reason-grid p {
  margin-top: 15px;
  font-size: 14.5px;
  line-height: 1.52;
}

@media (max-width: 760px) {
  .why-section {
    padding: 72px 0 78px;
  }

  .split-title h2 {
    font-size: 32px;
  }

  .reason-grid {
    margin-top: 28px;
  }

  .reason-grid article {
    padding: 22px;
  }

  .reason-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
  }

  .reason-grid h3 {
    font-size: 21px;
  }
}
/* Delivery and selected work visual refinement */
.team-section {
  padding: 96px 0 108px;
  background:
    radial-gradient(circle at 16% 12%, rgba(46, 181, 255, 0.11), rgba(46, 181, 255, 0) 34%),
    linear-gradient(180deg, #171411 0%, #0b0d10 100%);
}

.team-section .section-heading,
.projects-section .section-heading {
  max-width: 820px;
}

.team-section .section-heading h2,
.projects-section .section-heading h2 {
  font-size: clamp(36px, 4.25vw, 58px);
  line-height: 1.1;
}

.team-grid,
.project-grid {
  gap: 16px;
}

.team-grid article,
.project-card {
  min-height: auto;
  display: grid;
  grid-template-rows: 250px 1fr;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 14, 20, 0.92), rgba(3, 6, 9, 0.98)),
    rgba(2, 5, 8, 0.86);
  border-color: rgba(255, 255, 255, 0.11);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.team-grid article:hover,
.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 190, 255, 0.3);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36), 0 0 28px rgba(46, 181, 255, 0.055);
}

.team-portrait,
.project-visual {
  position: relative;
  height: auto;
  min-height: 250px;
  overflow: hidden;
  background: #05080d;
}

.team-portrait img,
.project-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.06) brightness(0.82);
  transform: scale(1.02);
}

.team-portrait::before,
.project-visual::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 5, 8, 0.02) 0%, rgba(2, 5, 8, 0.68) 100%),
    radial-gradient(circle at 50% 30%, rgba(46, 181, 255, 0.2), transparent 54%);
  opacity: 1;
}

.team-portrait span,
.project-visual span {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 18px;
  color: #f6fbff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(46, 181, 255, 0.52);
}

.team-grid article:nth-child(1) .team-portrait img { object-position: center 48%; }
.team-grid article:nth-child(2) .team-portrait img { object-position: center 46%; }
.team-grid article:nth-child(3) .team-portrait img { object-position: center 50%; }
.project-card:nth-child(1) .project-visual img { object-position: center 44%; }
.project-card:nth-child(2) .project-visual img { object-position: center 48%; }
.project-card:nth-child(3) .project-visual img { object-position: center 48%; }

.team-grid article > h3,
.team-grid article > p,
.team-grid article > a {
  margin-left: 28px;
  margin-right: 28px;
}

.team-grid article > h3 {
  margin-top: 28px;
  font-size: 23px;
}

.team-grid article > p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.58;
}

.team-grid article > a {
  margin-top: 18px;
  margin-bottom: 28px;
  width: fit-content;
}

.project-card > div:last-child {
  padding: 28px;
}

.project-card h3 {
  font-size: 24px;
  line-height: 1.16;
}

.project-card p {
  font-size: 15.5px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .team-section,
  .projects-section {
    padding: 76px 0 84px;
  }

  .team-section .section-heading h2,
  .projects-section .section-heading h2 {
    font-size: 32px;
  }

  .team-grid article,
  .project-card {
    grid-template-rows: 230px 1fr;
  }

  .team-portrait,
  .project-visual {
    min-height: 230px;
  }

  .team-grid article > h3,
  .team-grid article > p,
  .team-grid article > a {
    margin-left: 24px;
    margin-right: 24px;
  }

  .team-grid article > h3 {
    margin-top: 24px;
  }

  .project-card > div:last-child {
    padding: 24px;
  }
}

/* About mobile layout repair */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .about-section {
    padding: 70px 0 76px;
    border-radius: 32px 32px 0 0;
  }

  .about-section .section-inner {
    width: var(--inner);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .about-section .section-copy,
  .about-note {
    min-width: 0;
    width: 100%;
  }

  .about-section .section-copy h2 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.16;
    overflow-wrap: normal;
    word-break: normal;
  }

  .wide-copy p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: normal;
    word-break: normal;
  }

  .about-visual {
    height: min(260px, 62vw);
    min-height: 214px;
  }

  .about-note-body {
    padding: 24px 22px 26px;
  }

  .about-note p {
    font-size: 16px;
    line-height: 1.58;
  }
}

@media (max-width: 420px) {
  .about-section .section-copy h2 {
    font-size: 31px;
  }

  .about-visual {
    height: 230px;
  }

  .about-note .about-note-logo {
    width: 150px;
    height: 44px;
  }

  .about-note-tags span {
    min-height: 32px;
    padding: 0 12px;
  }
}
