@import url("https://fonts.googleapis.com/css2?family=Tilt+Neon&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --text: #1e2329;
  --muted: #687078;
  --line: #dde2e6;
  --surface: #ffffff;
  --accent: #0d7c68;
  --accent-strong: #075f51;
  --danger: #b42318;
  --admin-bg: #f3f5f6;
  --admin-ink: #161b22;
  --admin-sidebar: #0d141c;
  --admin-sidebar-muted: #9ba7b4;
  --admin-card: #ffffff;
  --admin-elevated: 0 18px 60px rgba(18, 27, 36, 0.09);
  --admin-shadow: 0 8px 24px rgba(18, 27, 36, 0.06);
  --admin-ring: 0 0 0 3px rgba(13, 124, 104, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button {
  min-height: 38px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #ffffff;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

button:hover {
  background: var(--accent-strong);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--admin-ring);
}

button:active {
  transform: translateY(1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.secondary-button {
  border-color: #cfd7dc;
  background: #ffffff;
  color: #28313a;
}

.secondary-button:hover {
  border-color: #afc4bd;
  background: #f5faf8;
  color: var(--accent-strong);
}

.link-button {
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0;
}

.link-button:hover {
  background: transparent;
  color: var(--accent-strong);
  text-decoration: underline;
}

.link-button.danger {
  color: var(--danger);
}

.front-edit-button {
  min-height: 30px;
  border-radius: 5px;
  padding: 0 9px;
  font-size: 12px;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 244, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.menu-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-nav a.active {
  color: var(--accent-strong);
  font-weight: 700;
}

.page-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 48px 32px 96px;
}

.page-status {
  min-height: 24px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.auth-enabled .site-header,
.auth-enabled .site-footer,
.dashboard-enabled .site-header,
.dashboard-enabled .site-footer,
.auth-enabled .page-status,
.dashboard-enabled .page-status {
  display: none;
}

.auth-enabled {
  background: #f0f2f5;
}

.auth-enabled .page-shell {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 40px 20px;
}

.auth-screen {
  display: grid;
  justify-items: center;
  gap: 28px;
  width: min(100%, 760px);
}

.auth-brand-mark,
.admin-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--admin-sidebar);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.auth-screen .dashboard-auth {
  display: grid;
  justify-items: center;
  gap: 24px;
  width: 100%;
}

.auth-screen .dashboard-auth > div {
  max-width: 560px;
  text-align: center;
}

.auth-screen .dashboard-title {
  font-size: clamp(32px, 5vw, 48px);
}

.auth-screen .login-card {
  width: min(100%, 430px);
  border-radius: 4px;
  border-color: #c3c4c7;
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.08);
}

.page-title {
  margin: 0 0 16px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.front-editor-panel {
  position: relative;
  z-index: 900;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-excerpt {
  max-width: 760px;
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 20px;
}

.page-section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.page-section.section-layout-two-column,
.page-section.section-layout-three-column {
  display: grid;
  gap: 24px;
}

.page-section.section-layout-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-section.section-layout-three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-section.section-layout-two-column > .section-label,
.page-section.section-layout-three-column > .section-label {
  grid-column: 1 / -1;
}

.page-section.section-layout-full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
}

.page-sections.page-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.page-sections.page-layout-grid .page-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
  padding: 24px;
}

.section-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-block {
  position: relative;
  margin: 0 0 24px;
}

.editor-enabled .page-section,
.editor-enabled .content-block {
  isolation: isolate;
}

.content-block[data-editable="true"] {
  outline: 1px dashed transparent;
  outline-offset: 8px;
}

.editor-enabled .content-block[data-editable="true"]:hover {
  outline-color: var(--accent);
  z-index: 850;
}

.block-edit {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 875;
  display: none;
  pointer-events: auto;
}

.editor-enabled .content-block[data-editable="true"]:hover .block-edit {
  display: inline-flex;
}

.block-rich {
  max-width: 820px;
}

.block-rich p {
  margin: 0 0 16px;
}

.block-rich h3 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.15;
}

.block-rich ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.block-rich a {
  color: var(--accent-strong);
}

.structured-block {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.structured-block-copy {
  max-width: 760px;
}

.structured-block h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.structured-note {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.structured-media {
  margin: 0;
}

.structured-media .block-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.structured-media figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.structured-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.structured-stat {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.structured-stat dt {
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.structured-stat dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.block-image {
  display: block;
  width: min(100%, 920px);
  height: auto;
  border-radius: 8px;
}

.gallery-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-block .block-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.slider-block {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #111827;
}

.slider-stage {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 280ms ease;
  will-change: transform;
}

.slider-direction-vertical .slider-track {
  flex-direction: column;
}

.slider-slide {
  flex: 0 0 calc(100% / var(--slider-visible, 1));
  margin: 0;
  padding: 0;
  transition:
    opacity 260ms ease,
    transform 320ms ease,
    filter 320ms ease;
}

.slider-focus-peek .slider-stage {
  padding-inline: clamp(42px, 14vw, 180px);
}

.slider-focus-peek.slider-direction-vertical .slider-stage {
  max-height: 760px;
  padding: clamp(42px, 10vh, 120px) 0;
}

.slider-focus-peek .slider-track {
  gap: 18px;
}

.slider-focus-peek .slider-slide {
  flex-basis: min(72%, 920px);
  opacity: 0.55;
  transform: scale(0.94);
  filter: saturate(0.78);
}

.slider-focus-peek.slider-direction-vertical .slider-slide {
  flex-basis: 68vh;
}

.slider-focus-peek .slider-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.slider-effect-fade .slider-stage,
.slider-effect-zoom .slider-stage {
  min-height: 420px;
}

.slider-effect-fade .slider-track,
.slider-effect-zoom .slider-track {
  position: relative;
  display: block;
  min-height: inherit;
  transform: none !important;
}

.slider-effect-fade .slider-slide,
.slider-effect-zoom .slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.slider-effect-fade .slider-slide.active,
.slider-effect-zoom .slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slider-effect-zoom .slider-slide .block-image {
  transform: scale(1.06);
  transition: transform 900ms ease;
}

.slider-effect-zoom .slider-slide.active .block-image {
  transform: scale(1);
}

.slider-slide .block-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
}

.slider-overlay::before {
  position: absolute;
  inset: 0;
  background: var(--slider-overlay-color, #000000);
  content: "";
  opacity: var(--slider-overlay-opacity, 0);
}

.slider-caption {
  position: relative;
  display: none;
  width: min(var(--slider-caption-width, 56%), 920px);
  max-width: 90%;
  padding: clamp(22px, 4vw, 48px);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.slider-caption.active {
  display: block;
}

.slider-text-top-left .slider-overlay {
  align-items: flex-start;
  justify-content: flex-start;
}

.slider-text-top-center .slider-overlay {
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.slider-text-top-right .slider-overlay {
  align-items: flex-start;
  justify-content: flex-end;
  text-align: right;
}

.slider-text-center-left .slider-overlay {
  align-items: center;
  justify-content: flex-start;
}

.slider-text-center .slider-overlay {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slider-text-center-right .slider-overlay {
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

.slider-text-bottom-center .slider-overlay {
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

.slider-text-bottom-right .slider-overlay {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
}

.slider-caption :where(h1, h2, h3, p) {
  margin-top: 0;
}

.slider-caption :where(h1, h2, h3) {
  font-size: clamp(28px, 5vw, 58px);
  line-height: 0.98;
}

.slider-caption p {
  max-width: 56ch;
  font-size: clamp(16px, 2vw, 20px);
}

.slider-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.68);
  color: #fff;
  padding: 6px;
  backdrop-filter: blur(12px);
}

.slider-nav-bottom-center .slider-controls {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.slider-nav-top-right .slider-controls {
  top: 16px;
  bottom: auto;
}

.slider-nav-center-sides .slider-controls {
  inset: 50% 16px auto 16px;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 0;
  transform: translateY(-50%);
  backdrop-filter: none;
}

.slider-controls .secondary-button {
  min-height: 34px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0 12px;
}

.slider-nav-style-circle .slider-controls .secondary-button {
  justify-content: center;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  padding: 0;
  overflow: hidden;
  text-indent: -999px;
}

.slider-nav-style-circle .slider-controls .secondary-button::before {
  display: block;
  text-indent: 0;
}

.slider-nav-style-circle .slider-controls [data-slider-prev]::before {
  content: "<";
}

.slider-nav-style-circle .slider-controls [data-slider-next]::before {
  content: ">";
}

.slider-nav-style-minimal .slider-controls {
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.slider-nav-style-minimal .slider-controls .secondary-button {
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.slider-controls .secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.slider-controls span {
  min-width: 48px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent-strong);
  padding: 0 14px;
  text-decoration: none;
}

.product-list-slot {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.product-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}

.product-list-item a {
  color: var(--text);
  text-decoration: none;
}

.product-list-item a:hover {
  color: var(--accent);
}

.shop-public-page,
.shop-product-detail {
  display: grid;
  gap: 28px;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.shop-public-header {
  display: grid;
  gap: 8px;
}

.shop-public-header h1,
.shop-product-detail h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
}

.shop-public-header p,
.shop-product-detail p {
  max-width: 680px;
  color: var(--muted);
}

.shop-public-filters {
  display: grid;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shop-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-filter-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
  background: #fff;
}

.shop-filter-row a.active,
.shop-filter-row a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.shop-filter-groups {
  display: grid;
  gap: 12px;
}

.shop-filter-group {
  display: grid;
  gap: 8px;
}

.shop-filter-row.compact a {
  padding: 6px 10px;
  font-size: 12px;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.shop-product-card {
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.shop-product-card a {
  display: grid;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.shop-product-card img,
.shop-product-detail-hero img,
.shop-product-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8ebe2;
}

.shop-product-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.shop-product-image-placeholder.large {
  min-height: 420px;
}

.shop-product-card span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.shop-product-card strong {
  font-size: 18px;
}

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

.shop-product-card > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.shop-product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: start;
}

.shop-product-detail-hero strong {
  display: block;
  margin-top: 24px;
  font-size: 28px;
}

.shop-product-detail-hero span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.shop-product-specs {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.shop-product-specs dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.shop-product-specs dl div {
  display: grid;
  gap: 4px;
  background: var(--page);
  padding: 14px;
}

.shop-product-specs dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.shop-product-specs dd {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 760px) {
  .structured-block {
    grid-template-columns: 1fr;
  }

  .shop-public-page,
  .shop-product-detail {
    width: min(100% - 28px, 1180px);
    padding-top: 28px;
  }

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

/* Dark industrial public theme */
body:not(.auth-enabled):not(.dashboard-enabled) {
  --bg: #060d12;
  --text: #f4f7ef;
  --muted: rgba(229, 237, 226, 0.68);
  --line: rgba(219, 181, 71, 0.16);
  --surface: #0c1720;
  --accent: #DBB547;
  --accent-strong: #DBB547;
  --paiqi-cream: #0b151d;
  --paiqi-sage: #101d27;
  --paiqi-sage-strong: #172833;
  --paiqi-ink: #050a0f;
  --paiqi-gold: #DBB547;
  background:
    radial-gradient(circle at 18% 0%, rgba(219, 181, 71, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(219, 181, 71, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 181, 71, 0.035) 1px, transparent 1px),
    #060d12;
  background-size: auto, 92px 92px, 92px 92px, auto;
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
  min-height: 72px;
  border-bottom: 1px solid rgba(219, 181, 71, 0.14);
  background: rgba(5, 10, 15, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

body:not(.auth-enabled):not(.dashboard-enabled) .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 950;
  text-transform: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .brand::before {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 0 18%, var(--accent) 18% 38%, transparent 38% 48%, var(--accent) 48% 68%, transparent 68% 78%, var(--accent) 78%),
    rgba(219, 181, 71, 0.14);
  content: "";
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav {
  gap: 8px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(244, 247, 239, 0.72);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a.active {
  border-color: rgba(219, 181, 71, 0.22);
  background: rgba(219, 181, 71, 0.08);
  color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher {
  border-color: rgba(219, 181, 71, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a {
  color: rgba(244, 247, 239, 0.68);
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a[aria-current="true"] {
  background: var(--accent);
  color: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section {
  border-top-color: rgba(219, 181, 71, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 22%),
    #071018;
  padding-top: clamp(72px, 8vw, 116px);
  padding-bottom: clamp(72px, 8vw, 116px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero {
  min-height: calc(100vh - 72px);
  background: #050a0f;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-work,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-cards,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-trust,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-industry,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-proof {
  background:
    radial-gradient(circle at 78% 10%, rgba(219, 181, 71, 0.045), transparent 28%),
    #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-highlights,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-capability {
  background:
    linear-gradient(180deg, rgba(219, 181, 71, 0.05), transparent 22%),
    #0b1620;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-layout {
  min-height: calc(100vh - 72px);
  background: #050a0f;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-media-wrap {
  position: absolute;
  inset: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.92), rgba(5, 10, 15, 0.5) 47%, rgba(5, 10, 15, 0.86)),
    linear-gradient(180deg, rgba(5, 10, 15, 0.34), rgba(5, 10, 15, 0.88)),
    radial-gradient(circle at 72% 34%, rgba(219, 181, 71, 0.16), transparent 28%);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-media img,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media img,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-image img,
body:not(.auth-enabled):not(.dashboard-enabled) .card-image img,
body:not(.auth-enabled):not(.dashboard-enabled) .project-image img,
body:not(.auth-enabled):not(.dashboard-enabled) .section-image img {
  filter: saturate(0.92) contrast(1.08) brightness(0.84);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
  width: min(100%, 1180px);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 116px) max(24px, calc((100vw - 1180px) / 2)) clamp(42px, 5vw, 72px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-title-stage {
  align-content: end;
  width: 100%;
  min-height: 440px;
  padding: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 {
  max-width: 700px;
  margin: 0;
  color: var(--text);
  font-size: clamp(58px, 7.2vw, 108px);
  line-height: 0.9;
  text-transform: none;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 span:last-child {
  color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-tagline,
body:not(.auth-enabled):not(.dashboard-enabled) .eyebrow {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-tagline::before,
body:not(.auth-enabled):not(.dashboard-enabled) .eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 12px 0 0 rgba(219, 181, 71, 0.6);
  content: "";
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
  right: 0;
  top: 27%;
  width: min(37vw, 440px);
  height: min(34vw, 360px);
  border: 1px solid rgba(219, 181, 71, 0.2);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  transform: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-summary {
  position: static;
  width: min(56%, 640px);
  margin: 26px 0 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-body,
body:not(.auth-enabled):not(.dashboard-enabled) .section-heading > p,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy > p,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel > div > p,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy p {
  color: rgba(229, 237, 226, 0.72);
  font-size: 17px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: clamp(34px, 5vw, 72px);
  width: min(45vw, 520px);
  border: 1px solid rgba(219, 181, 71, 0.18);
  border-radius: 10px;
  background: rgba(8, 17, 24, 0.78);
  padding: 18px;
  backdrop-filter: blur(14px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats div,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid div {
  border-top-color: rgba(219, 181, 71, 0.18);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats dt,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid dt {
  color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats dd,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid dd {
  color: rgba(229, 237, 226, 0.64);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-social-rail {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading {
  gap: 14px;
  max-width: 820px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-work .section-heading,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-cards .section-heading,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .section-heading {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy h2,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy h2 {
  color: var(--text);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.96;
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link {
  min-height: 42px;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-primary,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button {
  border-color: var(--accent);
  background: var(--accent);
  color: #071018;
  box-shadow: 0 16px 40px rgba(219, 181, 71, 0.18);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-primary:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button:hover {
  border-color: #f0ff5e;
  background: #f0ff5e;
  color: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-secondary {
  border-color: rgba(219, 181, 71, 0.28);
  background: rgba(8, 17, 24, 0.74);
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-secondary:hover {
  background: rgba(219, 181, 71, 0.1);
  color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list article,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form {
  border: 1px solid rgba(219, 181, 71, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 46%),
    rgba(11, 22, 31, 0.9);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card::before,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card::before {
  height: 2px;
  background: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .value-item h3,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list h3 {
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card p,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card p,
body:not(.auth-enabled):not(.dashboard-enabled) .value-item p,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list p,
body:not(.auth-enabled):not(.dashboard-enabled) .clean-list li {
  color: rgba(229, 237, 226, 0.66);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-meta,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy > span,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact span,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list span,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dt {
  color: var(--accent);
  letter-spacing: 0.08em;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery,
body:not(.auth-enabled):not(.dashboard-enabled) .card-image,
body:not(.auth-enabled):not(.dashboard-enabled) .project-image,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-image,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro .gallery-block {
  border: 1px solid rgba(219, 181, 71, 0.16);
  border-radius: 8px;
  background: #101d27;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery {
  min-height: 245px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .project-card {
  min-height: 100%;
}

body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy,
body:not(.auth-enabled):not(.dashboard-enabled) .feature-card {
  padding: 20px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .project-card .project-gallery + div {
  padding-top: 2px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
  min-height: 44px;
  border-color: rgba(219, 181, 71, 0.2);
  border-radius: 6px;
  background: rgba(5, 10, 15, 0.72);
  color: var(--text);
  padding: 4px 5px 4px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action i {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: var(--accent);
  box-shadow: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action i::before {
  border-color: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action::after {
  background: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover {
  color: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i {
  background: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i::before {
  border-color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .quick-facts {
  gap: 18px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact {
  min-height: 180px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact strong {
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 34px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) {
  background:
    linear-gradient(145deg, rgba(219, 181, 71, 0.06), transparent 44%),
    rgba(11, 22, 31, 0.92);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) h3,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) p,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) .card-meta {
  color: inherit;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) .card-meta {
  color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) p {
  color: rgba(229, 237, 226, 0.66);
}

body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes {
  align-items: center;
}

body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy {
  top: 104px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .capability-panel {
  gap: clamp(32px, 5vw, 72px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dd,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dd a {
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea {
  border-color: rgba(219, 181, 71, 0.16);
  background: rgba(5, 10, 15, 0.66);
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form label span {
  color: rgba(244, 247, 239, 0.82);
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input:focus,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(5, 10, 15, 0.92);
  box-shadow: 0 0 0 4px rgba(219, 181, 71, 0.1);
}

body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid {
  border: 1px solid rgba(219, 181, 71, 0.14);
  border-radius: 8px;
  background: rgba(11, 22, 31, 0.82);
  padding: 22px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-footer {
  border-top: 1px solid rgba(219, 181, 71, 0.18);
  background:
    linear-gradient(90deg, var(--accent) 0 32%, transparent 32%),
    #050a0f;
  color: rgba(244, 247, 239, 0.74);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-footer a {
  color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover {
  border-color: rgba(219, 181, 71, 0.38);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

@media (max-width: 1100px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
    width: 100%;
    padding: 60px 28px 54px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-title-stage,
  body:not(.auth-enabled):not(.dashboard-enabled) .hero-summary {
    width: min(100%, 720px);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
    position: relative;
    right: auto;
    top: auto;
    order: 2;
    width: min(100%, 520px);
    height: auto;
    aspect-ratio: 16 / 10;
    margin-top: 18px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats {
    position: static;
    width: min(100%, 720px);
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
    gap: 14px;
    padding: 16px 18px;
    background: rgba(5, 10, 15, 0.94);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav {
    gap: 6px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a {
    padding: 7px 9px;
    font-size: 11px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-section {
    padding: 64px 18px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
    min-height: auto;
    padding: 48px 18px 52px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-title-stage {
    min-height: 0;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats {
    grid-template-columns: 1fr;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery {
    min-height: 220px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .button-link {
    width: 100%;
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  padding: 20px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Paiqi ING public theme */
:root {
  --bg: #e8ece1;
  --text: #22271d;
  --muted: rgba(34, 39, 29, 0.68);
  --line: rgba(34, 39, 29, 0.14);
  --surface: #fffaf0;
  --accent: #bd1e2e;
  --accent-strong: #921521;
  --paiqi-cream: #f7f3ea;
  --paiqi-sage: #d9dfcf;
  --paiqi-sage-strong: #b9c3a6;
  --paiqi-ink: #22271d;
  --paiqi-gold: #f1c637;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(90deg, rgba(34, 39, 29, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(34, 39, 29, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 96px 96px, 96px 96px, auto;
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom-color: var(--line);
  background: rgba(247, 243, 234, 0.92);
  box-shadow: 0 8px 28px rgba(34, 39, 29, 0.06);
  backdrop-filter: blur(16px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .brand {
  color: var(--accent);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a.active {
  color: var(--accent);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 34px;
  border: 1px solid rgba(34, 39, 29, 0.12);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 250, 240, 0.76);
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a[aria-current="true"] {
  background: var(--text);
  color: var(--surface);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-shell {
  width: 100%;
  padding: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-status {
  min-height: 0;
  margin: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-status:empty {
  display: none;
}

.page-sections {
  overflow: hidden;
}

.page-section {
  scroll-margin-top: 92px;
  padding: 88px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}

.section-layout-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.section-layout-two-column > .section-label,
.section-layout-three-column > .section-label {
  grid-column: 1 / -1;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-layout-full-bleed,
.section-layout-full-bleed {
  width: 100%;
  margin-left: 0;
  transform: none;
}

.section-label {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-block {
  position: relative;
  min-width: 0;
}

.page-section.section-variant-hero {
  min-height: calc(100vh - 76px);
  border-top: 0;
  background: var(--paiqi-cream);
  padding: 0;
}

.section-variant-hero > .content-block {
  min-height: inherit;
}

.section-variant-intro,
.section-variant-work {
  background: var(--surface);
}

.section-variant-cards,
.section-variant-trust {
  background: #edf1e7;
}

.section-variant-industry,
.section-variant-contact {
  background: var(--paiqi-sage);
}

.section-variant-capability {
  background: var(--paiqi-ink);
  color: var(--surface);
}

.section-variant-process {
  background: var(--paiqi-cream);
}

.hero-layout {
  position: relative;
  display: block;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background: var(--paiqi-sage);
}

.section-heading,
.capability-copy,
.contact-panel > div:first-child {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hero-copy {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 24px;
  width: 50%;
  min-height: calc(100vh - 76px);
  margin-left: 50%;
  min-width: 0;
  padding: clamp(44px, 6vw, 92px) max(24px, calc((100vw - 1180px) / 2)) clamp(34px, 5vw, 72px) clamp(32px, 5vw, 84px);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(34, 39, 29, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb-list a,
.breadcrumb-list span {
  color: inherit;
  text-decoration: none;
}

.breadcrumb-list a {
  transition: color 0.18s ease;
}

.breadcrumb-list a:hover {
  color: var(--accent);
}

.breadcrumb-list a::after {
  margin-left: 8px;
  color: rgba(34, 39, 29, 0.42);
  content: "/";
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.capability-copy h2,
.contact-panel h2 {
  margin: 0;
  color: var(--text);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-copy h1 {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  max-width: none;
  margin-left: clamp(-120px, -8vw, -48px);
  color: var(--paiqi-gold);
  font-size: clamp(76px, 8.6vw, 138px);
  line-height: 0.82;
  text-align: left;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
}

.hero-body,
.section-heading > p,
.capability-copy > p,
.contact-panel > div > p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.section-heading h1,
.section-heading h2,
.capability-copy h2,
.contact-panel h2 {
  max-width: 880px;
  font-size: 58px;
}

.section-heading h1 {
  max-width: 960px;
  font-size: 70px;
}

.section-heading .action-row {
  margin-top: 8px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

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

.button-link-primary {
  background: var(--text);
  color: var(--surface);
  box-shadow: 0 16px 34px rgba(34, 39, 29, 0.18);
}

.button-link-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 20px 42px rgba(146, 21, 33, 0.24);
}

.button-link-secondary {
  border-color: rgba(34, 39, 29, 0.18);
  background: rgba(255, 250, 240, 0.82);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.button-link-secondary:hover {
  border-color: rgba(189, 30, 46, 0.4);
  background: #fffaf0;
  color: var(--accent);
}

.hero-stats,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 6px 0 0;
}

.hero-stats div,
.trust-grid div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.hero-stats dt,
.trust-grid dt {
  color: var(--accent);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.hero-stats dd,
.trust-grid dd {
  max-width: 170px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-media-wrap {
  position: absolute;
  inset: 0 50% 0 0;
  min-height: auto;
}

.hero-media,
.hero-side-media,
.capability-image,
.card-image,
.project-image,
.section-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paiqi-sage-strong);
}

.hero-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 39, 29, 0.1), rgba(34, 39, 29, 0.44)),
    linear-gradient(180deg, rgba(255, 250, 240, 0.16), transparent 36%);
  content: "";
}

.hero-media img,
.hero-side-media img,
.capability-image img,
.card-image img,
.project-image img,
.section-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title-stage {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 520px;
  padding-right: 18px;
}

.hero-tagline {
  position: absolute;
  top: clamp(24px, 4vw, 56px);
  right: clamp(18px, 4vw, 72px);
  z-index: 3;
  margin: 0;
  color: rgba(34, 39, 29, 0.64);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-side-media {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 1;
  width: min(52%, 430px);
  height: min(62%, 520px);
  border-radius: 0;
  box-shadow: 0 26px 70px rgba(34, 39, 29, 0.18);
  transform: translateY(-42%);
}

.hero-summary {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 18px;
  max-width: 680px;
  margin-left: auto;
}

.hero-social-rail {
  position: absolute;
  right: 18px;
  top: 50%;
  color: rgba(34, 39, 29, 0.58);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
}

.hero-badge {
  position: absolute;
  right: 0;
  bottom: 44px;
  display: grid;
  width: min(64%, 360px);
  border: 1px solid rgba(34, 39, 29, 0.12);
  border-radius: 8px;
  background: rgba(247, 243, 234, 0.9);
  padding: 22px;
  box-shadow: 0 20px 48px rgba(34, 39, 29, 0.14);
}

.hero-badge span {
  color: var(--paiqi-gold);
  font-size: 40px;
  font-weight: 950;
  line-height: 0.92;
  text-transform: uppercase;
}

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

.feature-card,
.project-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 42%),
    rgba(255, 250, 240, 0.84);
  box-shadow:
    0 16px 36px rgba(34, 39, 29, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.feature-card {
  padding: 16px;
}

.feature-card::before,
.project-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--paiqi-gold));
  content: "";
  opacity: 0;
  transition: opacity 0.24s ease;
}

.feature-card:hover::before,
.project-card:hover::before {
  opacity: 1;
}

.feature-card h3,
.project-card h3,
.value-item h3 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
}

.feature-card p,
.project-card p,
.value-item p {
  margin: 0;
  color: var(--muted);
}

.card-image {
  aspect-ratio: 16 / 10;
}

.card-gallery,
.project-gallery {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 0.45fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  min-height: 210px;
  border-radius: 6px;
}

.project-gallery {
  aspect-ratio: 4 / 3;
  min-height: 230px;
  border-radius: 0;
}

.card-gallery figure,
.project-gallery figure {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paiqi-sage-strong);
}

.card-gallery figure:first-child,
.project-gallery figure:first-child {
  grid-row: 1 / 3;
}

.card-gallery[data-image-count="1"],
.project-gallery[data-image-count="1"] {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 4 / 3;
}

.card-gallery[data-image-count="2"],
.project-gallery[data-image-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 4 / 3;
}

.card-gallery[data-image-count="1"] figure:first-child,
.project-gallery[data-image-count="1"] figure:first-child,
.card-gallery[data-image-count="2"] figure:first-child,
.project-gallery[data-image-count="2"] figure:first-child {
  grid-row: auto;
}

.card-gallery img,
.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    filter 0.42s ease,
    transform 0.42s ease;
}

.card-meta,
.project-card > .project-copy > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.card-action {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  justify-self: stretch;
  gap: 14px;
  overflow: hidden;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid rgba(34, 39, 29, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.76);
  color: var(--text);
  padding: 5px 6px 5px 16px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 20px rgba(34, 39, 29, 0.05);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.card-action span,
.card-action i {
  position: relative;
  z-index: 1;
}

.card-action span {
  min-width: 0;
  line-height: 1.05;
}

.card-action i {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--paiqi-ink);
  box-shadow: 0 10px 20px rgba(34, 39, 29, 0.18);
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.card-action i::before {
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--surface);
  border-right: 2px solid var(--surface);
  content: "";
  transform: rotate(45deg) translate(-1px, 1px);
}

.card-action::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s cubic-bezier(0.2, 0.72, 0.22, 1);
}

.card-action:hover {
  border-color: transparent;
  color: var(--surface);
  box-shadow: 0 16px 34px rgba(146, 21, 33, 0.18);
}

.card-action:hover::after {
  transform: scaleX(1);
}

.card-action:hover i {
  background: var(--paiqi-gold);
  box-shadow: 0 10px 24px rgba(241, 198, 55, 0.28);
  transform: translateX(2px);
}

.card-action:hover i::before {
  border-color: var(--text);
}

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

.clean-list li {
  position: relative;
  color: var(--muted);
  padding-left: 18px;
}

.clean-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.value-list {
  display: grid;
  gap: 0;
}

.value-item {
  padding: 22px 0;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(var(--fact-columns, 4), minmax(0, 1fr));
  gap: 14px;
}

.quick-fact {
  display: grid;
  gap: 10px;
  min-height: 190px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.08), rgba(255, 250, 240, 0.02)),
    rgba(34, 39, 29, 0.78);
  color: var(--surface);
  padding: 20px;
  box-shadow: 0 18px 44px rgba(34, 39, 29, 0.12);
}

.quick-fact span {
  color: var(--paiqi-gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-fact strong {
  display: block;
  color: var(--surface);
  font-size: 27px;
  line-height: 1.05;
}

.quick-fact p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
}

.section-variant-highlights {
  background: var(--paiqi-ink);
  color: var(--surface);
  padding-top: 48px;
  padding-bottom: 48px;
}

.buyer-notes {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 54px;
  align-items: start;
}

.buyer-notes-copy {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 112px;
}

.buyer-notes-copy h2 {
  margin: 0;
  max-width: 720px;
  color: var(--text);
  font-size: 50px;
  font-weight: 950;
  line-height: 0.98;
}

.buyer-notes-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.buyer-note-list {
  display: grid;
  gap: 14px;
}

.buyer-note-list article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.76);
  padding: 22px;
  box-shadow: 0 18px 40px rgba(34, 39, 29, 0.07);
}

.buyer-note-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.buyer-note-list h3 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  line-height: 1.08;
}

.buyer-note-list p {
  margin: 0;
  color: var(--muted);
}

.section-variant-proof {
  background: var(--paiqi-cream);
}

.capability-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: center;
}

.capability-image {
  aspect-ratio: 1 / 1;
}

.section-variant-capability .eyebrow {
  color: var(--paiqi-gold);
}

.section-variant-capability .capability-copy h2,
.section-variant-capability .capability-copy > p,
.section-variant-capability .clean-list li {
  color: var(--surface);
}

.section-variant-capability .capability-copy > p,
.section-variant-capability .clean-list li {
  color: rgba(255, 250, 240, 0.76);
}

.section-variant-capability .clean-list li::before {
  background: var(--paiqi-gold);
}

.section-variant-process .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-variant-process .feature-card {
  min-height: 280px;
  padding: 22px;
}

.section-variant-process .feature-card:nth-child(1) {
  background: var(--paiqi-gold);
}

.section-variant-process .feature-card:nth-child(2) {
  background: var(--paiqi-sage-strong);
}

.section-variant-process .feature-card:nth-child(3) {
  background: #d99a87;
}

.section-variant-process .feature-card:nth-child(4) {
  background: var(--paiqi-ink);
}

.section-variant-process .feature-card:nth-child(4) h3,
.section-variant-process .feature-card:nth-child(4) p,
.section-variant-process .feature-card:nth-child(4) .card-meta {
  color: var(--surface);
}

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

.project-listing {
  display: grid;
  gap: 28px;
}

.project-card {
  padding: 0;
}

.project-card > .project-copy {
  display: grid;
  gap: 8px;
  grid-template-rows: auto auto auto 1fr;
  padding: 0 18px 18px;
}

.feature-card .card-action,
.project-card .card-action {
  align-self: end;
}

.project-image {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.project-actions {
  display: flex;
  justify-content: center;
}

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

.section-variant-trust {
  padding-top: 42px;
  padding-bottom: 42px;
}

.contact-panel dl {
  display: grid;
  gap: 14px;
  margin: 12px 0 0;
}

.contact-panel dl div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.contact-panel dt {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  padding: 22px;
  box-shadow: 0 16px 38px rgba(34, 39, 29, 0.08);
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label span {
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(34, 39, 29, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  padding: 12px 13px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(189, 30, 46, 0.56);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(189, 30, 46, 0.1);
  outline: none;
}

.contact-form button {
  width: 100%;
  border-color: var(--text);
  background: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro .gallery-block {
  overflow: hidden;
  border: 1px solid rgba(34, 39, 29, 0.12);
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(34, 39, 29, 0.16);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro .slider-slide .block-image {
  min-height: 470px;
  aspect-ratio: 4 / 3;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro .slider-controls {
  right: 18px;
  bottom: 18px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-footer {
  justify-content: space-between;
  min-height: 92px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  border-top: 0;
  background: var(--paiqi-gold);
  color: var(--text);
}


body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.72, 0.22, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover {
  border-color: rgba(189, 30, 46, 0.34);
  box-shadow: 0 22px 56px rgba(34, 39, 29, 0.13);
  transform: translateY(-6px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover .card-gallery img,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover .project-gallery img,
body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover .card-image img,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover .project-image img {
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.045);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link,
body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
  will-change: transform;
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover {
  transform: translateY(-1px);
}

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

  body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll,
  body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll.is-visible,
  body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover .card-gallery img,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover .project-gallery img,
  body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover .card-image img,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover .project-image img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .hero-layout,
  .section-layout-two-column,
  .capability-panel,
  .buyer-notes {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: 0;
  }

  .hero-copy {
    grid-template-rows: auto auto auto;
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 48px 28px 54px;
  }

  .buyer-notes-copy {
    position: static;
  }

  .hero-copy h1 {
    justify-items: start;
    margin-left: 0;
    font-size: clamp(72px, 14vw, 132px);
    text-align: left;
  }

  .hero-media-wrap {
    position: relative;
    inset: auto;
    min-height: 48vh;
  }

  .hero-title-stage {
    min-height: 400px;
  }

  .hero-side-media {
    width: min(42%, 360px);
    height: 68%;
    transform: translateY(-38%);
  }

  .hero-summary {
    margin-left: 0;
  }

  .hero-social-rail {
    display: none;
  }

  .card-grid,
  .section-variant-process .card-grid,
  .project-grid,
  .quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 13px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a {
    font-size: 13px;
  }

  .language-switcher {
    margin-top: 2px;
  }

  .page-section {
    padding: 58px 18px;
  }

  .section-variant-hero {
    min-height: 0;
    padding: 0;
  }

  .hero-copy {
    gap: 18px;
    padding: 36px 18px 44px;
  }

  .hero-copy h1 {
    font-size: 52px;
    line-height: 0.86;
  }

  .hero-body,
  .section-heading > p,
  .capability-copy > p,
  .contact-panel > div > p,
  .buyer-notes-copy p {
    font-size: 16px;
  }

  .section-heading h1,
  .section-heading h2,
  .capability-copy h2,
  .contact-panel h2,
  .buyer-notes-copy h2 {
    font-size: 36px;
  }

  .hero-stats,
  .trust-grid,
  .card-grid,
  .section-variant-process .card-grid,
  .project-grid,
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-fact {
    min-height: 0;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro .slider-slide .block-image {
    min-height: 300px;
  }

  .hero-media-wrap {
    min-height: 320px;
  }

  .hero-media {
    inset: 0;
  }

  .hero-title-stage {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    padding-right: 0;
  }

  .hero-tagline {
    order: 0;
    position: static;
  }

  .hero-copy h1 {
    order: 1;
  }

  .hero-side-media {
    position: relative;
    right: auto;
    top: auto;
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    transform: none;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats dt {
    font-size: 28px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 26px 18px;
  }
}

/* Final dark industrial theme override - public only */
body:not(.auth-enabled):not(.dashboard-enabled) {
  --bg: #060c11;
  --text: #f4f7ef;
  --muted: rgba(229, 237, 226, 0.68);
  --line: rgba(219, 181, 71, 0.15);
  --surface: #0d1822;
  --accent: #bd1e2e;
  --accent-strong: #921521;
  --paiqi-cream: #0a131b;
  --paiqi-sage: #101d27;
  --paiqi-sage-strong: #172a36;
  --paiqi-ink: #050a0f;
  --paiqi-gold: #DBB547;
  background:
    radial-gradient(circle at 70% 0%, rgba(219, 181, 71, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(219, 181, 71, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 181, 71, 0.026) 1px, transparent 1px),
    #060c11;
  background-size: auto, 92px 92px, 92px 92px, auto;
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
  min-height: 68px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(219, 181, 71, 0.16);
  background: rgba(5, 10, 15, 0.9);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #bd1e2e;
  font-family: "Tilt Neon", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .brand::before {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav {
  gap: 7px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(244, 247, 239, 0.72);
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a.active {
  border-color: rgba(219, 181, 71, 0.24);
  background: rgba(219, 181, 71, 0.08);
  color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher {
  border-color: rgba(219, 181, 71, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a {
  color: rgba(244, 247, 239, 0.7);
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a[aria-current="true"] {
  background: var(--accent);
  color: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-shell {
  width: 100%;
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
  padding: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) [data-page]:empty {
  min-height: calc(100vh - 68px);
  min-height: calc(100svh - 68px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section {
  scroll-margin-top: 84px;
  border-top: 1px solid rgba(219, 181, 71, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 24%),
    #071018;
  padding: clamp(64px, 6vw, 92px) max(22px, calc((100vw - 1180px) / 2));
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero {
  min-height: 0;
  padding: 0;
  border-top: 0;
  background: #050a0f;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero > .content-block {
  min-height: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-layout {
  min-height: min(760px, calc(100vh - 68px));
  background: #050a0f;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-media-wrap {
  position: absolute;
  inset: 0;
  min-height: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.9), rgba(5, 10, 15, 0.54) 48%, rgba(5, 10, 15, 0.88)),
    linear-gradient(180deg, rgba(5, 10, 15, 0.2), rgba(5, 10, 15, 0.92)),
    radial-gradient(circle at 73% 34%, rgba(219, 181, 71, 0.16), transparent 26%);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
  width: min(100%, 1180px);
  min-height: min(760px, calc(100vh - 68px));
  margin: 0 auto;
  padding: clamp(64px, 7vw, 96px) max(22px, calc((100vw - 1180px) / 2)) 40px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-title-stage {
  display: grid;
  align-content: end;
  width: 100%;
  min-height: 330px;
  padding: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: var(--text);
  font-size: clamp(58px, 6.8vw, 98px);
  line-height: 0.9;
  text-transform: none;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 span:last-child {
  color: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .eyebrow,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-tagline {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  color: var(--paiqi-gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .eyebrow::before,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-tagline::before {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--paiqi-gold);
  box-shadow: 10px 0 0 rgba(219, 181, 71, 0.55);
  content: "";
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  top: 23%;
  z-index: 1;
  width: min(48vw, 620px);
  height: min(38vw, 455px);
  border: 1px solid rgba(219, 181, 71, 0.22);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  transform: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-media img,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media img,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-image img,
body:not(.auth-enabled):not(.dashboard-enabled) .card-image img,
body:not(.auth-enabled):not(.dashboard-enabled) .project-image img,
body:not(.auth-enabled):not(.dashboard-enabled) .section-image img {
  filter: saturate(0.95) contrast(1.08) brightness(0.84);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-summary {
  position: static;
  z-index: 4;
  width: min(36vw, 460px);
  max-width: none;
  margin: 24px 0 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-body,
body:not(.auth-enabled):not(.dashboard-enabled) .section-heading > p,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy > p,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel > div > p,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy p {
  color: rgba(229, 237, 226, 0.72);
  font-size: 16px;
  line-height: 1.58;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats div,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid div {
  border-top-color: rgba(219, 181, 71, 0.18);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats dt,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid dt {
  color: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats dd,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid dd {
  color: rgba(229, 237, 226, 0.64);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-social-rail {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel > div:first-child {
  gap: 14px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-work .section-heading,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-cards .section-heading,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .section-heading {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy h2,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy h2 {
  color: var(--text);
  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 0.96;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-layout-two-column,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-panel,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes {
  gap: clamp(34px, 5vw, 64px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link {
  min-height: 42px;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-primary,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button {
  border-color: var(--accent);
  background: var(--accent);
  color: #071018;
  box-shadow: 0 16px 40px rgba(219, 181, 71, 0.18);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-secondary {
  border-color: rgba(219, 181, 71, 0.28);
  background: rgba(8, 17, 24, 0.74);
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list article,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid {
  border: 1px solid rgba(219, 181, 71, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 46%),
    rgba(11, 22, 31, 0.92);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card::before,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card::before {
  height: 2px;
  background: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .value-item h3,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list h3 {
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card p,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card p,
body:not(.auth-enabled):not(.dashboard-enabled) .value-item p,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list p,
body:not(.auth-enabled):not(.dashboard-enabled) .clean-list li {
  color: rgba(229, 237, 226, 0.66);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-meta,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy > span,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact span,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list span,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dt {
  color: var(--accent);
  letter-spacing: 0.08em;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-grid,
body:not(.auth-enabled):not(.dashboard-enabled) .project-grid,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-facts,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list {
  gap: 18px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery,
body:not(.auth-enabled):not(.dashboard-enabled) .card-image,
body:not(.auth-enabled):not(.dashboard-enabled) .project-image,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-image,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro .gallery-block {
  border: 1px solid rgba(219, 181, 71, 0.16);
  border-radius: 8px;
  background: #101d27;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery {
  min-height: 230px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy {
  padding: 18px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .project-card {
  min-height: 100%;
  padding: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .project-card .project-gallery + div {
  padding-top: 4px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
  min-height: 42px;
  border-color: rgba(219, 181, 71, 0.22);
  border-radius: 6px;
  background: rgba(5, 10, 15, 0.72);
  color: var(--text);
  padding: 4px 5px 4px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action i {
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: var(--accent);
  box-shadow: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action i::before {
  border-color: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action::after {
  background: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover {
  color: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i {
  background: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i::before {
  border-color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact {
  min-height: 164px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact strong {
  color: var(--text);
  font-size: clamp(24px, 2.4vw, 32px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) {
  background:
    linear-gradient(145deg, rgba(219, 181, 71, 0.06), transparent 44%),
    rgba(11, 22, 31, 0.92);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) .card-meta {
  color: var(--accent);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) h3 {
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) p {
  color: rgba(229, 237, 226, 0.66);
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dd,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dd a {
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea {
  border-color: rgba(219, 181, 71, 0.16);
  background: rgba(5, 10, 15, 0.66);
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form label span {
  color: rgba(244, 247, 239, 0.82);
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input:focus,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(5, 10, 15, 0.92);
  box-shadow: 0 0 0 4px rgba(219, 181, 71, 0.1);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-footer {
  min-height: 84px;
  border-top: 1px solid rgba(219, 181, 71, 0.18);
  background:
    linear-gradient(90deg, var(--accent) 0 30%, transparent 30%),
    #050a0f;
  color: rgba(244, 247, 239, 0.74);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover {
  border-color: rgba(219, 181, 71, 0.38);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

@media (max-width: 1100px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .hero-layout,
  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
    min-height: 0;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-layout {
    width: min(100% - 36px, 760px);
    margin-inline: auto;
    border: 1px solid rgba(219, 181, 71, 0.12);
    border-radius: 10px;
    overflow: hidden;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
    width: 100%;
    padding: 54px 28px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-title-stage,
  body:not(.auth-enabled):not(.dashboard-enabled) .hero-summary {
    width: min(100%, 720px);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
    position: relative;
    right: auto;
    top: auto;
    order: 2;
    width: min(100%, 520px);
    height: auto;
    aspect-ratio: 16 / 10;
    margin-top: 18px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats {
    position: static;
    width: min(100%, 720px);
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
    align-items: center;
    gap: 10px;
    padding: 12px 16px 11px;
    background: rgba(5, 10, 15, 0.96);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .brand {
    flex: 1 0 auto;
    font-size: 14px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav {
    display: flex;
    flex: 1 0 100%;
    gap: 5px;
    width: 100%;
    margin-top: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav::-webkit-scrollbar {
    display: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a {
    justify-content: center;
    flex: 0 0 auto;
    padding: 6px 9px;
    font-size: 10px;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 3px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a {
    min-height: 32px;
    min-width: 38px;
    padding: 0 8px;
    font-size: 10px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-section {
    padding: 48px 18px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-section:first-child {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-layout {
    width: calc(100% - 28px);
    border-radius: 8px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
    display: block;
    box-sizing: border-box;
    padding: 34px 18px 36px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-title-stage,
  body:not(.auth-enabled):not(.dashboard-enabled) .hero-summary {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-title-stage {
    min-height: 0;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy .eyebrow,
  body:not(.auth-enabled):not(.dashboard-enabled) .hero-tagline {
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.2;
    white-space: normal;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 {
    font-size: clamp(42px, 12.5vw, 58px);
    line-height: 0.88;
    margin-bottom: 22px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
    width: 100%;
    margin-top: 6px;
    aspect-ratio: 16 / 10;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-body {
    font-size: 16px;
    line-height: 1.55;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid {
    grid-template-columns: 1fr;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 12px 14px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats div {
    padding: 10px 0;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats dt {
    font-size: 30px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats dd {
    font-size: 12px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy h2 {
    font-size: clamp(30px, 8.8vw, 40px);
    line-height: 0.96;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery {
    min-height: 190px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .button-link {
    width: 100%;
  }
}

@media (max-width: 430px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
    align-items: center;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav {
    width: 100%;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a {
    min-width: 34px;
    padding-inline: 7px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 {
    font-size: clamp(40px, 12vw, 52px);
  }
}

/* Paiqi brand palette and hero refinement */
body:not(.auth-enabled):not(.dashboard-enabled) {
  --accent: #bd1e2e;
  --accent-strong: #921521;
  --paiqi-gold: #DBB547;
}

body:not(.auth-enabled):not(.dashboard-enabled) .brand {
  gap: 0;
  color: #bd1e2e;
  font-family: "Tilt Neon", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .brand::before {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a[aria-current="true"],
body:not(.auth-enabled):not(.dashboard-enabled) .button-link-primary,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-primary,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button {
  box-shadow: 0 16px 40px rgba(189, 30, 46, 0.22);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 span:last-child,
body:not(.auth-enabled):not(.dashboard-enabled) .eyebrow,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-tagline,
body:not(.auth-enabled):not(.dashboard-enabled) .card-meta,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy > span,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact span,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list span,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dt,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid dt,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card:nth-child(n) .card-meta {
  color: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .eyebrow::before,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-tagline::before,
body:not(.auth-enabled):not(.dashboard-enabled) .card-action i,
body:not(.auth-enabled):not(.dashboard-enabled) .card-action::after {
  background: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i::before {
  border-color: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-title-stage {
  position: static;
  z-index: 3;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
  position: relative;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
  right: 0;
  top: 22%;
  z-index: 1;
  width: min(50vw, 640px);
  height: min(39vw, 470px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-summary {
  position: relative;
  z-index: 4;
  width: min(32vw, 390px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-stats {
  display: none;
}

@media (max-width: 1100px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
    right: auto;
    top: auto;
    width: min(100%, 620px);
    height: auto;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-summary {
    width: min(100%, 720px);
  }
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .brand {
    font-size: 20px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
    width: 100%;
  }
}

/* Final agency polish */
body:not(.auth-enabled):not(.dashboard-enabled) {
  text-rendering: geometricPrecision;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
  background:
    linear-gradient(90deg, rgba(189, 30, 46, 0.08), transparent 26%, rgba(219, 181, 71, 0.05)),
    rgba(5, 10, 15, 0.9);
}

body:not(.auth-enabled):not(.dashboard-enabled) .brand {
  text-shadow: 0 0 20px rgba(189, 30, 46, 0.18);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a,
body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a,
body:not(.auth-enabled):not(.dashboard-enabled) .button-link,
body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a.active {
  box-shadow: inset 0 -1px 0 rgba(219, 181, 71, 0.5);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-layout::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 34%, rgba(219, 181, 71, 0.1), transparent 22%),
    linear-gradient(90deg, rgba(5, 10, 15, 0.74), transparent 46%, rgba(5, 10, 15, 0.58));
  content: "";
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy {
  z-index: 2;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-copy h1 {
  letter-spacing: -0.01em;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
  overflow: hidden;
  border-color: rgba(219, 181, 71, 0.32);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media::after,
body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery::after,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%, rgba(5, 10, 15, 0.1));
  content: "";
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media img,
body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery img,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery img,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-image img {
  transition:
    filter 0.24s ease,
    transform 0.32s ease;
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media:hover img,
body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover img,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover img {
  filter: saturate(1.02) contrast(1.08) brightness(0.92);
  transform: scale(1.035);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-primary,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button {
  border-color: rgba(189, 30, 46, 0.94);
  background:
    linear-gradient(135deg, #bd1e2e, #9f1725);
  box-shadow:
    0 18px 48px rgba(189, 30, 46, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-secondary {
  border-color: rgba(219, 181, 71, 0.42);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button:hover {
  transform: translateY(-2px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-primary:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button:hover {
  box-shadow:
    0 24px 58px rgba(189, 30, 46, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list article,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form {
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list article:hover {
  transform: translateY(-4px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card::before,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card::before {
  background: linear-gradient(90deg, #bd1e2e, var(--paiqi-gold));
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
  position: relative;
  overflow: hidden;
  border-color: rgba(219, 181, 71, 0.28);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover {
  border-color: rgba(219, 181, 71, 0.66);
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i {
  background: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i::before {
  border-color: #071018;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy h2,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy h2 {
  letter-spacing: -0.01em;
}

body:not(.auth-enabled):not(.dashboard-enabled) a:focus-visible,
body:not(.auth-enabled):not(.dashboard-enabled) button:focus-visible,
body:not(.auth-enabled):not(.dashboard-enabled) input:focus-visible,
body:not(.auth-enabled):not(.dashboard-enabled) textarea:focus-visible {
  outline: 2px solid var(--paiqi-gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
    row-gap: 12px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .hero-layout::before {
    background:
      linear-gradient(180deg, rgba(5, 10, 15, 0.18), rgba(5, 10, 15, 0.42)),
      radial-gradient(circle at 64% 38%, rgba(219, 181, 71, 0.08), transparent 24%);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .button-link:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .feature-card:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-card:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list article:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.auth-enabled):not(.dashboard-enabled) *,
  body:not(.auth-enabled):not(.dashboard-enabled) *::before,
  body:not(.auth-enabled):not(.dashboard-enabled) *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Clean premium agency direction */
body:not(.auth-enabled):not(.dashboard-enabled) {
  --text: #111827;
  --muted: #5d6673;
  --surface: #ffffff;
  --line: rgba(17, 24, 39, 0.09);
  background: #f7f9fc;
  color: var(--text);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a {
  color: rgba(17, 24, 39, 0.72);
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a.active {
  border-color: rgba(189, 30, 46, 0.12);
  background: rgba(189, 30, 46, 0.06);
  color: #bd1e2e;
  box-shadow: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher {
  border-color: rgba(17, 24, 39, 0.1);
  background: #f4f6f9;
}

body:not(.auth-enabled):not(.dashboard-enabled) .language-switcher a {
  color: rgba(17, 24, 39, 0.64);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section:not(.section-variant-hero) {
  border-top: 0;
  background: #ffffff;
  color: var(--text);
  padding-top: clamp(94px, 9vw, 144px);
  padding-bottom: clamp(94px, 9vw, 144px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-cards,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-trust {
  background:
    linear-gradient(180deg, #ffffff, #f2f6fc);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-work,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-contact {
  background: #f7f9fc;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-capability {
  background:
    radial-gradient(circle at 80% 10%, rgba(219, 181, 71, 0.1), transparent 28%),
    linear-gradient(135deg, #06111d, #0b1723);
  color: #ffffff;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-layout-two-column,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-panel,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes {
  gap: clamp(56px, 7vw, 104px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading {
  max-width: 740px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-cards .section-heading,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-work .section-heading,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .section-heading {
  max-width: 760px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy h2 {
  color: #121a2a;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.04;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro .section-heading h2 {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.06;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro {
  padding-top: clamp(84px, 8vw, 124px);
  padding-bottom: clamp(84px, 8vw, 124px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .hero-copy h1,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .hero-copy h1 span {
  color: #f7f7f0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .hero-copy h1 span:last-child {
  color: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .hero-body {
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 1101px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .hero-copy {
    padding-inline: 32px;
  }
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading > p,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel > div > p,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy p,
body:not(.auth-enabled):not(.dashboard-enabled) .feature-card p,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card p,
body:not(.auth-enabled):not(.dashboard-enabled) .value-item p {
  color: #5d6673;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-capability .capability-copy h2,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-capability .capability-copy > p,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-capability .clean-list li {
  color: rgba(255, 255, 255, 0.88);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-capability .capability-copy h2 {
  color: #ffffff;
}

body:not(.auth-enabled):not(.dashboard-enabled) .eyebrow,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-tagline,
body:not(.auth-enabled):not(.dashboard-enabled) .card-meta,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy > span,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact span,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list span,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dt {
  color: #bd1e2e;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .eyebrow,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .hero-tagline,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .hero-copy h1 span:last-child,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-capability .eyebrow {
  color: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .value-list {
  gap: 30px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .value-item {
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

body:not(.auth-enabled):not(.dashboard-enabled) .value-item h3 {
  color: #121a2a;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-grid,
body:not(.auth-enabled):not(.dashboard-enabled) .project-grid {
  gap: clamp(26px, 3vw, 40px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card,
body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list article,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid {
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.08),
    0 2px 12px rgba(15, 23, 42, 0.04);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy {
  padding: clamp(22px, 2.3vw, 34px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list h3 {
  color: #121a2a;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card {
  background:
    linear-gradient(145deg, rgba(219, 181, 71, 0.1), transparent 48%),
    #101a27;
  box-shadow:
    0 28px 80px rgba(15, 23, 42, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card h3 {
  color: #ffffff;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-process .feature-card .card-meta {
  color: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-industry .feature-card {
  background: #fbfcff;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-industry .feature-card p {
  color: #5d6673;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-work .project-card,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-cards .feature-card {
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card::before,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card::before {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery,
body:not(.auth-enabled):not(.dashboard-enabled) .card-image,
body:not(.auth-enabled):not(.dashboard-enabled) .project-image,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-image,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro .gallery-block {
  overflow: hidden;
  border: 0;
  border-radius: 0 0 42px 0;
  background: transparent;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media {
  border-radius: 0 0 54px 0;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.42);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery::after,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery::after,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media::after {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-gallery img,
body:not(.auth-enabled):not(.dashboard-enabled) .project-gallery img,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-image img,
body:not(.auth-enabled):not(.dashboard-enabled) .hero-side-media img {
  filter: saturate(1) contrast(1.02) brightness(0.98);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
  min-height: 0;
  width: max-content;
  border: 0;
  background: transparent;
  color: #bd1e2e;
  padding: 0;
  gap: 12px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action i {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f1e7cf;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action::after {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover {
  color: #921521;
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link-secondary {
  border-color: rgba(17, 24, 39, 0.14);
  background: #ffffff;
  color: #111827;
}

body:not(.auth-enabled):not(.dashboard-enabled) .clean-list li {
  color: #5d6673;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .button-link-secondary {
  border-color: rgba(219, 181, 71, 0.42);
  background: rgba(5, 10, 15, 0.48);
  color: #ffffff;
}

body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid {
  padding: clamp(28px, 4vw, 48px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid dt {
  color: #bd1e2e;
}

body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid dd {
  color: #5d6673;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea {
  border-color: rgba(17, 24, 39, 0.1);
  background: #f8fafc;
  color: #111827;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form label span {
  color: #384152;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-footer {
  border-top: 0;
  background: #ffffff;
  color: #5d6673;
}

@media (max-width: 1100px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .page-section:not(.section-variant-hero) {
    padding-top: 86px;
    padding-bottom: 86px;
  }
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
    background: rgba(255, 255, 255, 0.94);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .buyer-notes-copy h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy {
    padding: 22px;
  }
}

/* Final contrast correction */
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card:nth-child(n) {
  background:
    linear-gradient(145deg, rgba(219, 181, 71, 0.1), transparent 48%),
    #101a27;
  color: #ffffff;
  box-shadow:
    0 28px 80px rgba(15, 23, 42, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card:nth-child(n) h3 {
  color: #ffffff;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card p,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card:nth-child(n) p {
  color: rgba(255, 255, 255, 0.74);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card .card-meta,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card:nth-child(n) .card-meta {
  color: var(--paiqi-gold);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-process .feature-card:hover {
  box-shadow:
    0 34px 90px rgba(15, 23, 42, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

/* Final read-more treatment */
body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 138px;
  min-height: 40px;
  width: max-content;
  border: 1px solid rgba(189, 30, 46, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #fbf7ee);
  color: #bd1e2e;
  padding: 4px 4px 4px 16px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action span {
  white-space: nowrap;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action i {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #DBB547;
  box-shadow:
    0 10px 20px rgba(219, 181, 71, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action i::before {
  right: 12px;
  width: 7px;
  height: 7px;
  border-color: #111827;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action::after {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover {
  border-color: rgba(189, 30, 46, 0.34);
  background: #bd1e2e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(189, 30, 46, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i {
  background: #ffffff;
  box-shadow: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover i::before {
  border-color: #bd1e2e;
}

body:not(.auth-enabled):not(.dashboard-enabled) .project-card .card-action,
body:not(.auth-enabled):not(.dashboard-enabled) .feature-card .card-action {
  margin-top: auto;
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
    min-width: 132px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .card-action:hover {
    transform: none;
  }
}

/* Filtered gallery page */
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-gallery {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  color: #111827;
  padding-top: clamp(54px, 5vw, 82px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-gallery-intro {
  padding-bottom: clamp(44px, 5vw, 76px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1040px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-archive {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-archive p {
  color: #bd1e2e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-archive h2 {
  color: #111827;
  font-size: clamp(34px, 5vw, 74px);
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-archive span {
  color: #5d6673;
  font-size: 15px;
  font-weight: 750;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-pill {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #384152;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 13px 18px;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-pill::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #bd1e2e, #9f1725);
  content: "";
  opacity: 0;
  transition: opacity 0.2s ease;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-pill span {
  position: relative;
  z-index: 1;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-pill:hover {
  border-color: rgba(189, 30, 46, 0.24);
  color: #bd1e2e;
  transform: translateY(-1px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-pill.active {
  border-color: #bd1e2e;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(189, 30, 46, 0.18);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-pill.active::before {
  opacity: 1;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #5d6673;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-count strong {
  color: #bd1e2e;
  font-family: "Tilt Neon", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 0.9;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-grid {
  display: grid;
  align-items: start;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  grid-column: span 4;
  flex-direction: column;
  background: #ffffff;
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform-origin: 50% 70%;
  transition:
    box-shadow 0.24s ease,
    opacity 0.24s ease,
    transform 0.24s ease;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:nth-child(5n + 1),
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:nth-child(5n + 4) {
  grid-column: span 5;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:nth-child(5n + 2) {
  grid-column: span 7;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:nth-child(5n + 2) .filter-gallery-media {
  min-height: clamp(260px, 30vw, 430px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery.is-filtered .filter-gallery-card:nth-child(n) {
  grid-column: span 6;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery.is-filtered .filter-gallery-card .filter-gallery-media {
  min-height: clamp(240px, 24vw, 360px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card[hidden] {
  display: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card.is-entering {
  animation: galleryCardEnter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--gallery-delay, 0ms);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:hover {
  box-shadow:
    0 34px 90px rgba(15, 23, 42, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.94) inset;
  transform: translateY(-4px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-media {
  position: relative;
  display: grid;
  min-height: clamp(220px, 24vw, 340px);
  overflow: hidden;
  border: 0;
  border-radius: 0 0 46px 0;
  background: #e8edf3;
  box-shadow: none;
  margin: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-media figure,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-media img {
  min-width: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-media figure {
  min-height: 100%;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition:
    filter 0.28s ease,
    transform 0.38s ease;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:hover .filter-gallery-media img {
  filter: saturate(1.04) contrast(1.06) brightness(0.96);
  transform: scale(1.045);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.5vw, 36px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy > span {
  color: #bd1e2e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy h3 {
  max-width: 16ch;
  color: #121a2a;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.02;
  margin: 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy p {
  color: #5d6673;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 8px;
}

@keyframes galleryCardEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card,
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 700px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-toolbar {
    flex-wrap: nowrap;
    margin-inline: -20px;
    overflow-x: auto;
    padding: 0 20px 4px;
    scroll-padding-inline: 20px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .filter-pill {
    flex: 0 0 auto;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card,
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:nth-child(n),
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery.is-filtered .filter-gallery-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:hover {
    transform: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-work-detail .slider-block {
    background: #111827;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-work-detail .slider-block .slider-slide .block-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: contain;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-work-detail .slider-overlay {
    position: static;
    display: block;
    text-align: left;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-work-detail .slider-overlay::before {
    display: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-work-detail .slider-caption {
    width: 100%;
    max-width: none;
    padding: 16px;
    color: #fff;
    overflow-wrap: anywhere;
    text-shadow: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-work-detail .slider-caption > :last-child {
    margin-bottom: 0;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-work-detail .slider-controls {
    position: static;
    margin: 0 16px 16px;
    transform: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .page-work-detail .slider-controls .secondary-button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Detail page contrast polish */
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-highlights {
  background: #f7f9fc;
  color: #121a2a;
}

body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list article {
  border-color: rgba(18, 26, 42, 0.06);
  background: #ffffff;
  color: #121a2a;
}

body:not(.auth-enabled):not(.dashboard-enabled) .quick-fact p,
body:not(.auth-enabled):not(.dashboard-enabled) .buyer-note-list p {
  color: #5d6673;
}

/* Compact premium pass */
body:not(.auth-enabled):not(.dashboard-enabled) .page-section:not(.section-variant-hero) {
  padding-top: clamp(54px, 5.4vw, 86px);
  padding-bottom: clamp(54px, 5.4vw, 86px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-gallery {
  padding-top: clamp(48px, 5vw, 78px);
  padding-bottom: clamp(42px, 4.8vw, 72px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero + .page-section:not(.section-variant-hero),
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro + .page-section:not(.section-variant-hero) {
  padding-top: clamp(30px, 3.2vw, 48px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel > div:first-child {
  gap: 12px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy h2,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2 {
  max-width: 780px;
  font-size: clamp(32px, 3.45vw, 50px);
  letter-spacing: 0;
  line-height: 1;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-heading > p,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy > p,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel > div > p,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy p {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.58;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-layout-two-column,
body:not(.auth-enabled):not(.dashboard-enabled) .capability-panel {
  gap: clamp(28px, 4vw, 54px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-grid,
body:not(.auth-enabled):not(.dashboard-enabled) .project-grid,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-grid {
  gap: clamp(16px, 1.8vw, 24px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery {
  gap: clamp(18px, 2.4vw, 32px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form,
body:not(.auth-enabled):not(.dashboard-enabled) .trust-grid {
  border-radius: 8px;
  box-shadow:
    0 16px 44px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form {
  padding: clamp(18px, 2vw, 26px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card h3,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy h3 {
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.04;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-media {
  min-height: clamp(190px, 20vw, 300px);
  border-radius: 0 0 30px 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card:nth-child(5n + 2) .filter-gallery-media,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery.is-filtered .filter-gallery-card .filter-gallery-media {
  min-height: clamp(210px, 22vw, 330px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .button-link {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 11px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action {
  min-width: 122px;
  min-height: 36px;
  padding: 3px 3px 3px 14px;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-action i {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dl {
  gap: 0;
  margin-top: 14px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel dl div {
  padding: 14px 0;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form {
  gap: 15px;
  max-width: 560px;
  margin-left: auto;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form label {
  gap: 7px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea {
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 13px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea {
  min-height: 132px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form button {
  min-height: 44px;
  border-radius: 999px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-footer {
  padding-top: 28px;
  padding-bottom: 28px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .card-grid + .project-actions {
  margin-top: clamp(18px, 2.4vw, 30px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-contact-cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(189, 30, 46, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(189, 30, 46, 0.09), rgba(219, 181, 71, 0.08) 48%, #ffffff);
  color: #111827;
  padding-top: clamp(36px, 4vw, 62px);
  padding-bottom: clamp(36px, 4vw, 62px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .contact-panel {
  width: 100%;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .contact-panel > div:first-child {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px clamp(28px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .contact-panel h2 {
  max-width: 660px;
  color: #121a2a;
  font-size: clamp(30px, 3.3vw, 48px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .contact-panel > div > p {
  max-width: 600px;
  color: #4f5867;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .action-row {
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: end;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .button-link-primary {
  background: #bd1e2e;
  border-color: #bd1e2e;
  color: #ffffff;
  box-shadow: 0 18px 48px rgba(189, 30, 46, 0.2);
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .page-section:not(.section-variant-hero),
  body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro,
  body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-gallery {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero + .page-section:not(.section-variant-hero),
  body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-intro + .page-section:not(.section-variant-hero) {
    padding-top: 30px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h1,
  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy h2,
  body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel h2 {
    font-size: clamp(30px, 8.6vw, 40px);
    line-height: 1.03;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-heading > p,
  body:not(.auth-enabled):not(.dashboard-enabled) .capability-copy > p,
  body:not(.auth-enabled):not(.dashboard-enabled) .contact-panel > div > p,
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy p {
    font-size: 14px;
    line-height: 1.55;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .feature-card,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-card > .project-copy,
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-copy,
  body:not(.auth-enabled):not(.dashboard-enabled) .contact-form {
    padding: 18px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-media {
    min-height: 178px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .contact-form {
    max-width: none;
    margin-left: 0;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .contact-panel > div:first-child {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .action-row {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-contact-cta .button-link {
    width: 100%;
  }
}

/* Load and scroll reveal */
body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.74s ease,
    transform 0.74s cubic-bezier(0.2, 0.72, 0.22, 1),
    filter 0.74s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll:not(.page-section) {
  filter: blur(8px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll.is-visible,
body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-hero .reveal-on-scroll {
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card.reveal-on-scroll,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card.reveal-on-scroll,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card.reveal-on-scroll {
  transform: translate3d(0, 30px, 0) scale(0.985);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card.reveal-on-scroll.is-visible,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card.reveal-on-scroll.is-visible,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card.reveal-on-scroll.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

body:not(.auth-enabled):not(.dashboard-enabled) .feature-card.reveal-on-scroll.is-visible:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .project-card.reveal-on-scroll.is-visible:hover,
body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card.reveal-on-scroll.is-visible:hover {
  transform: translate3d(0, -4px, 0) scale(1);
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll {
    transform: translate3d(0, 18px, 0);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll:not(.page-section) {
    filter: blur(5px);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .feature-card.reveal-on-scroll.is-visible:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-card.reveal-on-scroll.is-visible:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card.reveal-on-scroll.is-visible:hover {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

body:not(.auth-enabled):not(.dashboard-enabled) .site-footer .footer-content {
  display: grid;
  align-items: center;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .footer-copy {
  justify-self: start;
  color: rgba(17, 24, 39, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

body:not(.auth-enabled):not(.dashboard-enabled) .footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(189, 30, 46, 0.16);
  border-radius: 999px;
  background: rgba(189, 30, 46, 0.035);
  color: #bd1e2e;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

body:not(.auth-enabled):not(.dashboard-enabled) .footer-social a:hover {
  transform: translateY(-2px);
  border-color: rgba(189, 30, 46, 0.34);
  background: rgba(219, 181, 71, 0.16);
  color: #111827;
}

body:not(.auth-enabled):not(.dashboard-enabled) .footer-social svg {
  width: 18px;
  height: 18px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .footer-credit {
  justify-self: end;
  color: rgba(17, 24, 39, 0.64);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

body:not(.auth-enabled):not(.dashboard-enabled) .footer-credit a {
  color: #bd1e2e;
  text-decoration: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .footer-credit a:hover {
  color: #111827;
}

@media (max-width: 760px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .site-footer .footer-content {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .footer-social,
  body:not(.auth-enabled):not(.dashboard-enabled) .footer-copy,
  body:not(.auth-enabled):not(.dashboard-enabled) .footer-credit {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll,
  body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll.is-visible,
  body:not(.auth-enabled):not(.dashboard-enabled) .feature-card.reveal-on-scroll,
  body:not(.auth-enabled):not(.dashboard-enabled) .project-card.reveal-on-scroll,
  body:not(.auth-enabled):not(.dashboard-enabled) .filter-gallery-card.reveal-on-scroll {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}


/* Mobile public navigation and reveal hardening */
.menu-toggle {
  display: none;
}

.page-transition-loader {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1400;
  height: 3px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.page-transition-loader span {
  display: block;
  width: 46%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #bd1e2e 0%, #dbb547 100%);
  box-shadow: 0 0 22px rgba(189, 30, 46, 0.28);
  transform: translateX(-120%);
}

body.page-transition-loading .page-transition-loader {
  opacity: 1;
}

body.page-transition-loading .page-transition-loader span {
  animation: page-transition-slide 0.78s cubic-bezier(0.72, 0, 0.28, 1) infinite;
}

@keyframes page-transition-slide {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(235%);
  }
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  body.page-transition-loading .page-transition-loader span {
    animation: none;
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .site-header {
    position: sticky;
    z-index: 1200;
    flex-direction: row;
    align-items: center;
    min-height: 70px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.94);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .brand {
    position: relative;
    z-index: 1202;
    flex: 1 1 auto;
    font-size: 22px;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .menu-toggle {
    position: relative;
    z-index: 1202;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(17, 24, 39, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #111827;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .menu-toggle span {
    grid-area: 1 / 1;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform 0.28s cubic-bezier(0.2, 0.72, 0.22, 1),
      opacity 0.2s ease;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .menu-toggle {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
  }

  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    padding: 104px 24px 32px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 86% 14%, rgba(219, 181, 71, 0.2), transparent 28%),
      linear-gradient(160deg, #08111c 0%, #101a27 54%, #bd1e2e 160%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px) scale(0.985);
    transition:
      opacity 0.28s ease,
      transform 0.34s cubic-bezier(0.2, 0.72, 0.22, 1);
  }

  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav .menu-item {
    display: block;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(26px, 8vw, 42px);
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.05;
    text-transform: none;
    transform: translateY(14px);
    opacity: 0;
    transition:
      color 0.22s ease,
      opacity 0.28s ease,
      transform 0.34s cubic-bezier(0.2, 0.72, 0.22, 1);
  }

  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav a {
    opacity: 1;
    transform: translateY(0);
  }

  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav .menu-item:nth-child(1) a { transition-delay: 0.06s; }
  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav .menu-item:nth-child(2) a { transition-delay: 0.1s; }
  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav .menu-item:nth-child(3) a { transition-delay: 0.14s; }
  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav .menu-item:nth-child(4) a { transition-delay: 0.18s; }
  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav .menu-item:nth-child(5) a { transition-delay: 0.22s; }
  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav .menu-item:nth-child(6) a { transition-delay: 0.26s; }
  body:not(.auth-enabled):not(.dashboard-enabled).mobile-menu-open .site-nav .menu-item:nth-child(7) a { transition-delay: 0.3s; }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a::after {
    color: var(--paiqi-gold);
    content: "→";
    font-size: 18px;
    transform: translateX(-6px);
    opacity: 0;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a:hover,
  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a.active {
    background: transparent;
    color: #ffffff;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a:hover::after,
  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav a.active::after {
    opacity: 1;
    transform: translateX(0);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav .language-switcher {
    align-self: flex-start;
    min-height: 0;
    margin: 24px 0 0;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav .language-switcher a {
    width: auto;
    min-height: 40px;
    padding: 0 13px;
    border: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 1;
    transform: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav .language-switcher a::after {
    content: none;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav .language-switcher a.active,
  body:not(.auth-enabled):not(.dashboard-enabled) .site-nav .language-switcher a:hover {
    background: #ffffff;
    color: #bd1e2e;
  }

  body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll:not(.page-section) {
    filter: none;
  }
}

/* Paiqi ING identity and engineering page */
body:not(.auth-enabled):not(.dashboard-enabled) .brand {
  gap: 0;
  text-shadow: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(42vw, 154px);
}

.brand-wordmark {
  white-space: nowrap;
}

.brand-wordmark strong {
  color: #dbb547;
  font: inherit;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-layout-full-bleed.section-variant-engineering-hero {
  min-height: 0;
  padding: 0;
  border-top: 0;
  background: #050a0f;
}

.engineering-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  background: #050a0f;
}

.engineering-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.96) 0%, rgba(5, 10, 15, 0.78) 38%, rgba(5, 10, 15, 0.18) 72%),
    linear-gradient(180deg, rgba(5, 10, 15, 0.12), rgba(5, 10, 15, 0.86));
  content: "";
}

.engineering-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(219, 181, 71, 0.11) 1px, transparent 1px),
    linear-gradient(180deg, rgba(219, 181, 71, 0.08) 1px, transparent 1px);
  background-size: 92px 92px;
  content: "";
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 66%);
  pointer-events: none;
}

.engineering-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
}

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

.engineering-hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  width: min(1180px, calc(100% - 44px));
  min-height: 720px;
  margin: 0 auto;
  padding: 94px 0 44px;
}

.engineering-hero-copy .breadcrumb-list {
  margin-bottom: 48px;
}

.engineering-hero-copy .breadcrumb-list a,
.engineering-hero-copy .breadcrumb-list span {
  color: rgba(255, 255, 255, 0.7);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-hero .engineering-hero-copy .eyebrow {
  margin: 0 0 16px;
  color: #dbb547;
}

.engineering-hero-copy h1 {
  width: 100%;
  min-width: 0;
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: 78px;
  font-weight: 900;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.engineering-hero-body {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.engineering-hero-copy .button-row {
  margin-top: 28px;
}

.engineering-hero-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 770px;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.engineering-hero-track > div {
  display: grid;
  gap: 7px;
  min-height: 76px;
  padding: 16px 20px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.engineering-hero-track > div:not(:first-child) {
  padding-left: 20px;
}

.engineering-hero-track > div:last-child {
  border-right: 0;
}

.engineering-hero-track span {
  color: #dbb547;
  font-size: 11px;
  font-weight: 900;
}

.engineering-hero-track strong {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.25;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-scope {
  background: #f5f6f2;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-scope .section-heading h2,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-scope .feature-card h3 {
  color: #111820;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-scope .section-heading > p,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-scope .feature-card p,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-scope .clean-list li {
  color: #59616a;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-engineering-scope .feature-card {
  min-height: 0;
  padding: 26px 22px 20px 0;
  border: 0;
  border-top: 2px solid rgba(189, 30, 46, 0.5);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-engineering-scope .feature-card:hover {
  border-color: #bd1e2e;
  box-shadow: none;
  transform: translateY(-3px);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-remote {
  background: #050a0f;
}

.section-variant-engineering-remote .capability-panel {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
}

.section-variant-engineering-remote .capability-image {
  aspect-ratio: 5 / 4;
  border: 0;
  border-radius: 0 0 56px 0;
  box-shadow: 28px 28px 0 rgba(189, 30, 46, 0.16);
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-remote .capability-copy h2 {
  max-width: 700px;
  color: #ffffff;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-remote .eyebrow {
  color: #dbb547;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-remote .capability-copy > p,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-remote .clean-list li {
  color: rgba(255, 255, 255, 0.76);
}

.section-variant-engineering-remote .capability-copy .button-row {
  margin-top: 26px;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-software {
  background: #0b151e;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-software .eyebrow,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-software .card-meta {
  color: #dbb547;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-software .section-heading h2,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-software .feature-card h3 {
  color: #f7f8f5;
}

body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-software .section-heading > p,
body:not(.auth-enabled):not(.dashboard-enabled) .page-section.section-variant-engineering-software .feature-card p {
  color: rgba(247, 248, 245, 0.74);
}

.section-variant-engineering-software .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-engineering-software .feature-card {
  min-height: 210px;
  border-color: rgba(219, 181, 71, 0.18);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
}

body:not(.auth-enabled):not(.dashboard-enabled) .section-variant-engineering-software .feature-card:hover {
  border-color: rgba(219, 181, 71, 0.48);
  background: rgba(255, 255, 255, 0.045);
}

body:not(.auth-enabled):not(.dashboard-enabled) .reveal-on-scroll:not(.page-section) {
  filter: none;
}

@media (max-width: 1100px) {
  .engineering-hero-copy h1 {
    max-width: 700px;
    font-size: 64px;
  }

  .section-variant-engineering-remote .capability-panel {
    grid-template-columns: 1fr;
  }

  .section-variant-engineering-software .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 32px;
    max-width: min(48vw, 140px);
  }

  .engineering-hero,
  .engineering-hero-copy {
    min-height: 780px;
  }

  .engineering-hero::before {
    background:
      linear-gradient(180deg, rgba(5, 10, 15, 0.22) 0%, rgba(5, 10, 15, 0.72) 44%, rgba(5, 10, 15, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 10, 15, 0.62), rgba(5, 10, 15, 0.12));
  }

  .engineering-hero-media img {
    object-position: 66% center;
  }

  .engineering-hero-copy {
    width: calc(100% - 36px);
    padding: 92px 0 30px;
  }

  .engineering-hero-copy .breadcrumb-list {
    margin-bottom: 30px;
  }

  .engineering-hero-copy h1 {
    font-size: 44px;
    line-height: 1;
  }

  .engineering-hero-body {
    margin-top: 18px;
    font-size: 16px;
  }

  .engineering-hero-track {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 34px;
  }

  .engineering-hero-track > div,
  .engineering-hero-track > div:not(:first-child) {
    display: flex;
    align-items: baseline;
    gap: 13px;
    min-height: 0;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .section-variant-engineering-software .card-grid {
    grid-template-columns: 1fr;
  }

  .section-variant-engineering-remote .capability-image {
    border-radius: 0 0 34px 0;
    box-shadow: 16px 16px 0 rgba(189, 30, 46, 0.15);
  }
}

.dashboard-enabled {
  background: var(--admin-bg);
}

.dashboard-enabled .page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 280px),
    var(--admin-bg);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 30px;
  height: 100vh;
  padding: 22px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--admin-sidebar);
  color: #ffffff;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  color: #ffffff;
  text-decoration: none;
}

.admin-sidebar-brand .admin-brand-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-sidebar-brand strong,
.admin-sidebar-brand small {
  display: block;
}

.admin-sidebar-brand small,
.admin-sidebar-footer span {
  color: var(--admin-sidebar-muted);
  font-size: 12px;
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 4px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  border-radius: 7px;
  color: #cdd6df;
  padding: 0 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  background: rgba(255, 255, 255, 0.085);
  color: #ffffff;
}

.admin-nav-link.active {
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 3px 0 0 #38c7a0,
    0 8px 22px rgba(0, 0, 0, 0.12);
}

.admin-sidebar-footer {
  display: grid;
  gap: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 0;
  overflow-wrap: anywhere;
}

.admin-logout-button {
  justify-content: flex-start;
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #e8edf2;
  padding: 0 10px;
}

.admin-logout-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.admin-workspace {
  width: min(100%, 1480px);
  padding: 32px clamp(24px, 3vw, 44px) 52px;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #ffffff;
  padding: 0 15px;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(13, 124, 104, 0.18);
}

.admin-section {
  margin-top: 22px;
}

.admin-section.narrow {
  max-width: 760px;
}

.dashboard-title {
  margin: 0 0 10px;
  color: var(--admin-ink);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.06;
  letter-spacing: 0;
}

.dashboard-copy {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.settings-grid,
.module-grid {
  display: grid;
  gap: 16px;
}

.settings-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.module-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--admin-card);
  padding: 22px;
  box-shadow: var(--admin-shadow);
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--admin-card);
  padding: 22px;
  box-shadow: var(--admin-shadow);
}

.builder-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.builder-rail {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 56px);
  overflow: auto;
  border: 1px solid #d7dde2;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffffff, #fbfcfd);
  padding: 16px;
  box-shadow: var(--admin-shadow);
}

.builder-rail-header {
  border-bottom: 1px solid #edf0f2;
  margin: -2px -2px 0;
  padding: 4px 2px 14px;
}

.builder-rail h2,
.builder-topbar h1,
.builder-section-card h3 {
  margin: 0;
}

.builder-help {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

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

.builder-template {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 6px;
  min-height: 124px;
  border: 1px solid #dfe5e8;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 12px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.builder-template:hover,
.builder-template.active {
  border-color: #8ac7b8;
  background: #f7fcfa;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(13, 124, 104, 0.1);
  transform: translateY(-1px);
}

.builder-template-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef5f3;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.builder-template span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.builder-template::after {
  content: "Add";
  justify-self: start;
  margin-top: auto;
  border-radius: 999px;
  background: #e5f4f0;
  color: var(--accent-strong);
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
}

.builder-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.builder-create {
  max-width: 980px;
}

.builder-topbar,
.builder-card,
.builder-section-card,
.builder-empty {
  border: 1px solid #dce2e6;
  border-radius: 12px;
  background: #ffffff;
  padding: 22px;
  box-shadow: var(--admin-shadow);
}

.builder-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(180deg, #ffffff, #fbfcfd);
}

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

.builder-card label,
.builder-settings-form label {
  display: grid;
  gap: 6px;
}

.builder-card label span,
.builder-settings-form label span,
.rich-editor-header span {
  color: #66717b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.builder-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.builder-card-heading h2 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 18px;
  line-height: 1.2;
}

.revision-panel {
  display: grid;
  gap: 16px;
}

.revision-panel .dashboard-copy.compact {
  max-width: 540px;
  font-size: 14px;
}

.revision-list {
  display: grid;
  gap: 10px;
}

.revision-item,
.revision-compare {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #dfe6e9;
  border-radius: 10px;
  background: #fbfcfc;
  padding: 14px;
}

.revision-item strong,
.revision-item span,
.revision-item small,
.revision-compare strong,
.revision-compare span {
  display: block;
}

.revision-item strong,
.revision-compare strong {
  color: var(--admin-ink);
}

.revision-item span,
.revision-item small,
.revision-compare span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.revision-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.revision-actions .secondary-button {
  min-height: 32px;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 12px;
}

.secondary-button.danger {
  border-color: #f1c5c2;
  background: #fff8f7;
  color: #9f2f27;
}

.secondary-button.danger:hover {
  border-color: #e3928b;
  background: #fff0ee;
}

.revision-compare {
  background: #f5fbf9;
  border-color: #bfe1d8;
}

.revision-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.revision-field {
  border-radius: 999px;
  background: #e5f4f0;
  color: var(--accent-strong);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.revision-field.muted {
  background: #eef1f2;
  color: var(--muted);
}

.builder-canvas {
  display: grid;
  gap: 18px;
  min-height: 280px;
  border: 1px solid #d9e0e4;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    #f7f9fa;
  background-size: 32px 32px;
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.builder-canvas.page-layout-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.builder-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-style: dashed;
  border-color: #cbd6dc;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  text-align: center;
  box-shadow: none;
}

.builder-empty strong {
  color: var(--admin-ink);
  font-size: 17px;
}

.builder-empty span {
  max-width: 340px;
}

.builder-empty.small {
  min-height: 120px;
  padding: 16px;
}

.builder-section-card.active {
  border-color: #8ac7b8;
  box-shadow:
    var(--admin-shadow),
    0 0 0 3px rgba(13, 124, 104, 0.1);
}

.builder-section-card header,
.builder-block header,
.rich-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.builder-section-card > header {
  margin-bottom: 16px;
}

.builder-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.builder-section-card > header > span,
.builder-block header span {
  color: var(--muted);
  font-size: 12px;
}

.builder-block-list {
  display: grid;
  gap: 12px;
  min-height: 120px;
  border-radius: 10px;
}

.builder-block-list.layout-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-block-list.layout-three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.builder-block-list.layout-full-bleed {
  grid-template-columns: 1fr;
}

.builder-block {
  display: grid;
  gap: 12px;
  border: 1px solid #dfe5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
}

.builder-block:hover {
  border-color: #b9cbd3;
}

.builder-block header .secondary-button {
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
}

.builder-block-preview {
  max-height: 280px;
  overflow: auto;
}

.builder-block-preview .content-block,
.builder-block-preview .block-rich p:last-child {
  margin-bottom: 0;
}

.rich-editor {
  display: grid;
  gap: 10px;
}

.rich-editor-header {
  border: 1px solid #d8e0e5;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #f9fbfb;
  padding: 10px 12px;
}

.rich-editor-surface {
  min-height: 240px;
  border: 1px solid #d8e0e5;
  border-radius: 0 0 10px 10px;
  background: #ffffff;
}

.rich-editor-surface[contenteditable="true"] {
  padding: 12px;
}

.rich-editor-surface .ql-editor,
.rich-editor-surface.ql-container .ql-editor {
  min-height: 240px;
  font-size: 16px;
  line-height: 1.65;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rich-toolbar .ql-formats {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 0;
}

.rich-toolbar button,
.rich-toolbar select {
  min-height: 30px;
  font-size: 12px;
}

.rich-preview {
  min-height: 110px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
  padding: 14px;
}

.product-editor-shell {
  display: grid;
  gap: 20px;
}

.product-editor-topbar {
  margin-bottom: 0;
}

.product-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.product-editor-main,
.product-editor-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.product-editor-side {
  position: sticky;
  top: 28px;
}

.product-editor-summary {
  gap: 4px;
}

.product-editor-summary strong,
.product-editor-summary span {
  display: block;
}

.product-editor-summary strong {
  color: var(--admin-ink);
  font-size: 24px;
  line-height: 1.1;
}

.product-editor-summary span {
  color: var(--muted);
  font-size: 13px;
}

.product-image-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.product-image-list figure {
  display: grid;
  gap: 7px;
  margin: 0;
}

.product-image-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #dfe5e8;
  border-radius: 10px;
  object-fit: cover;
  background: #f5f7f8;
}

.product-image-list figcaption {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-upload-box {
  display: grid;
  gap: 9px;
  border: 1px dashed #b7c7ce;
  border-radius: 12px;
  background: #f8fbfb;
  padding: 16px;
  margin-bottom: 14px;
}

.product-upload-box > span {
  color: var(--admin-ink);
  font-weight: 800;
}

.choice-card-grid {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.choice-card {
  position: relative;
  display: grid;
}

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

.choice-card > span {
  display: grid;
  gap: 3px;
  border: 1px solid #dfe5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px;
  cursor: pointer;
}

.choice-card input:checked + span {
  border-color: #7fbcae;
  background: #f4fbf8;
  box-shadow: var(--admin-ring);
}

.choice-card strong {
  color: var(--admin-ink);
  font-size: 13px;
}

.choice-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.repeater-list {
  display: grid;
  gap: 10px;
}

.repeater-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid #e1e7ea;
  border-radius: 10px;
  background: #fbfcfc;
  padding: 12px;
}

.repeater-row .secondary-button {
  min-height: 42px;
}

.existing-option-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.existing-option-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dfe5e8;
  border-radius: 10px;
  background: #f8fafb;
  padding: 10px 12px;
}

.existing-option-list strong {
  color: var(--admin-ink);
}

.existing-option-list span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}


.module-card span,
.detail-list span {
  color: var(--muted);
  font-size: 13px;
}

.admin-action-list {
  display: grid;
  gap: 10px;
}

.admin-action-list a {
  display: grid;
  gap: 4px;
  border: 1px solid #dfe5e8;
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 14px 16px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.admin-action-list a:hover {
  border-color: #9ccfc2;
  background: #f7fcfa;
}

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

.dashboard-command-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-command {
  display: grid;
  gap: 10px;
  min-height: 160px;
  border: 1px solid #dfe5e8;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffffff, #fbfcfd);
  color: var(--text);
  padding: 18px;
  text-decoration: none;
  box-shadow: var(--admin-shadow);
}

.dashboard-command:hover:not(.dashboard-command-muted) {
  border-color: #9ccfc2;
  background: #f8fcfb;
  box-shadow: 0 16px 36px rgba(13, 124, 104, 0.1);
  transform: translateY(-1px);
}

.dashboard-command-muted {
  background: #f5f7f8;
}

.dashboard-command span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.dashboard-command strong {
  color: var(--admin-ink);
  font-size: 17px;
  line-height: 1.25;
}

.dashboard-command em {
  align-self: end;
  color: var(--accent-strong);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.dashboard-two-column {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.module-status-list {
  display: grid;
  gap: 10px;
}

.module-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf0f2;
  padding: 0 0 10px;
}

.module-status-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.module-status-row div {
  display: grid;
  gap: 3px;
}

.module-status-row span:not(.status-pill) {
  color: var(--muted);
  font-size: 12px;
}

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

.shop-overview-grid article {
  display: grid;
  gap: 8px;
  min-height: 120px;
  border: 1px solid #dfe5e8;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  box-shadow: var(--admin-shadow);
}

.shop-overview-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.shop-overview-grid strong {
  color: var(--admin-ink);
  font-size: 30px;
  line-height: 1;
}

.shop-overview-grid small {
  color: var(--muted);
}

.admin-tabs,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-tabs {
  margin: 0 0 24px;
  border-bottom: 1px solid #dfe5e8;
}

.admin-tabs a {
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 0 4px 12px;
  font-weight: 700;
  text-decoration: none;
}

.admin-tabs a.active {
  border-color: var(--accent);
  color: var(--admin-ink);
}

.table-separator {
  color: var(--muted);
  padding: 0 4px;
}

.login-card {
  display: grid;
  gap: 14px;
}

.login-card-actions {
  display: flex;
  justify-content: flex-end;
}

.login-card-actions a {
  color: var(--accent);
}

.form-message {
  margin: 0;
  border: 1px solid #dbe8e5;
  border-radius: 9px;
  background: #f6fbf9;
  color: #47645d;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 650;
}

.form-message.error {
  border-color: #efb4ad;
  background: #fff4f2;
  color: var(--danger);
}

.login-card label {
  display: grid;
  gap: 4px;
}

.login-card label span {
  color: var(--muted);
  font-size: 12px;
}

.login-card input,
.login-card select,
.login-card textarea,
.settings-form input,
.settings-form textarea,
.builder-card input,
.builder-card select,
.builder-card textarea,
.product-editor-shell input,
.product-editor-shell select,
.product-editor-shell textarea,
.builder-settings-form input,
.builder-settings-form select,
.builder-settings-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d5dde2;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 0 11px;
  box-shadow: inset 0 1px 1px rgba(17, 24, 39, 0.025);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.login-card input:focus,
.login-card select:focus,
.login-card textarea:focus,
.settings-form input:focus,
.settings-form textarea:focus,
.builder-card input:focus,
.builder-card select:focus,
.builder-card textarea:focus,
.product-editor-shell input:focus,
.product-editor-shell select:focus,
.product-editor-shell textarea:focus,
.builder-settings-form input:focus,
.builder-settings-form select:focus,
.builder-settings-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7fbcae;
  background: #ffffff;
  box-shadow: var(--admin-ring);
}

.contact-form {
  display: grid;
  gap: 10px;
  max-width: 620px;
}

.contact-form label {
  display: grid;
  gap: 5px;
}

.contact-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form textarea {
  min-height: 120px;
  padding: 10px;
  resize: vertical;
}

.builder-card textarea,
.product-editor-shell textarea,
.builder-settings-form textarea {
  padding: 10px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--text);
  font-weight: 700;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.checkbox-field span {
  color: var(--text);
  font-size: 13px;
  text-transform: none;
}

.contact-form .form-message {
  margin-top: 2px;
}

.contact-form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.settings-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-top: 18px;
}

.settings-form label {
  display: grid;
  gap: 6px;
}

.settings-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.settings-form textarea {
  padding: 10px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading-row h1,
.section-heading-row h2,
.admin-card h2 {
  margin: 0;
}

.component-palette {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.component-template {
  display: grid;
  gap: 6px;
  min-height: 104px;
  border-color: #dfe5e8;
  background: #ffffff;
  color: var(--text);
  text-align: left;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.component-template:hover {
  border-color: #9ccfc2;
  background: #f7fcfa;
}

.component-template span {
  color: var(--muted);
  font-size: 12px;
}

.table-card {
  overflow-x: auto;
  padding: 0;
}

.table-empty-state {
  display: grid;
  justify-items: start;
  gap: 8px;
  min-height: 132px;
  padding: 12px 0;
}

.table-empty-state strong {
  color: var(--admin-ink);
  font-size: 17px;
}

.table-empty-state span {
  max-width: 520px;
  color: var(--muted);
}

.table-empty-state .admin-primary-link,
.table-empty-state button {
  margin-top: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #edf0f2;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.table-link {
  min-height: 0;
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  padding: 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border: 1px solid #d8e0e5;
  border-radius: 999px;
  background: #f8fafb;
  color: var(--muted);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
}

.status-pill.success {
  border-color: #b6e0d5;
  background: #edf8f5;
  color: var(--accent-strong);
}


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

.detail-list div {
  display: grid;
  gap: 4px;
}

.module-card {
  display: grid;
  gap: 14px;
}

.module-card div {
  display: grid;
  gap: 6px;
}

.module-card small {
  color: var(--accent-strong);
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(12, 18, 26, 0.58);
  backdrop-filter: blur(6px);
  padding: 24px;
}

.modal-panel {
  width: min(100%, 720px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(11, 18, 26, 0.34);
}

.modal-panel form {
  display: grid;
}

.modal-header,
.modal-body,
.modal-actions {
  padding: 24px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e4e9ed;
  background:
    linear-gradient(180deg, #ffffff, #fbfcfd);
}

.modal-header h2,
.modal-header p {
  margin: 0;
}

.modal-header h2 {
  color: var(--admin-ink);
  font-size: 24px;
  line-height: 1.15;
}

.modal-header p:not(.section-label) {
  margin-top: 6px;
  color: var(--muted);
}

.modal-close {
  width: 36px;
  min-height: 36px;
  border-color: #d5dde2;
  border-radius: 999px;
  background: #f8fafb;
  color: var(--text);
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.modal-close:hover {
  border-color: #c3ced5;
  background: #eef3f4;
  color: var(--admin-ink);
}

.modal-body {
  display: grid;
  gap: 18px;
}

.modal-body label,
.gallery-field {
  display: grid;
  gap: 6px;
}

.modal-body label span,
.gallery-field > div > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.field-help,
.gallery-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.modal-body input,
.modal-body textarea,
.modal-body select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d5dde2;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  padding: 0 11px;
  box-shadow: inset 0 1px 1px rgba(17, 24, 39, 0.025);
}

.modal-body textarea {
  padding: 10px 11px;
  resize: vertical;
}

.modal-body .checkbox-field {
  display: flex;
  align-items: center;
}

.modal-body .checkbox-field input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.modal-body .checkbox-field span {
  color: var(--text);
  font-size: 13px;
  text-transform: none;
}

.modal-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #e4e9ed;
  background: rgba(250, 251, 252, 0.96);
  backdrop-filter: blur(8px);
}

.file-preview-list,
.gallery-existing-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.file-preview-item,
.gallery-existing-item {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 104px;
  border: 1px solid #dfe5e8;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
  color: var(--text);
  font-size: 12px;
  overflow-wrap: anywhere;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
}

.file-preview-item img,
.gallery-existing-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #eef2f0;
  object-fit: cover;
}

.gallery-existing-item {
  position: relative;
}

.gallery-existing-item > input[type="checkbox"] {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.gallery-existing-content {
  display: grid;
  gap: 10px;
}

.gallery-existing-content label {
  display: grid;
  gap: 5px;
}

.gallery-upload-box {
  border: 1px dashed #a8b7be;
  border-radius: 10px;
  background:
    linear-gradient(180deg, #fbfdfc, #f6faf9);
  padding: 16px;
}

.gallery-upload-box input[type="file"],
.modal-body input[type="file"] {
  border: 0;
  background: transparent;
  padding: 8px 0 0;
  box-shadow: none;
}

.fallback-content {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  white-space: pre-wrap;
}

.error {
  color: var(--danger);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .admin-layout,
  .settings-grid,
  .builder-shell,
  .builder-form-grid,
  .product-editor-grid,
  .repeater-row,
  .builder-block-list.layout-two-column,
  .builder-block-list.layout-three-column,
  .dashboard-command-grid,
  .dashboard-two-column,
  .shop-overview-grid,
  .page-section.section-layout-two-column,
  .page-section.section-layout-three-column {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .builder-rail {
    position: static;
    max-height: none;
  }

  .product-editor-side {
    position: static;
  }

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

  .builder-topbar {
    display: grid;
  }

  .revision-item,
  .revision-compare {
    display: grid;
  }

  .revision-actions,
  .revision-fields {
    justify-content: flex-start;
  }

  .admin-workspace {
    padding: 24px;
  }

  .admin-page-header {
    display: grid;
  }

  .page-shell {
    padding: 32px 20px 72px;
  }

  .slider-block {
    --slider-visible: 1 !important;
  }

  .slider-controls {
    position: static;
    justify-content: center;
    width: 100%;
    border-radius: 0;
    transform: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .builder-template-list {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    display: grid;
  }
}


body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea {
  color-scheme: light;
  caret-color: #bd1e2e;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input:focus,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input:focus-visible,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea:focus,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea:focus-visible {
  border-color: rgba(189, 30, 46, 0.42);
  background: #ffffff;
  color: #111827;
  box-shadow:
    0 0 0 4px rgba(189, 30, 46, 0.1),
    0 12px 28px rgba(15, 23, 42, 0.06);
  outline: none;
  -webkit-text-fill-color: #111827;
}

body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input:-webkit-autofill,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form input:-webkit-autofill:focus,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea:-webkit-autofill,
body:not(.auth-enabled):not(.dashboard-enabled) .contact-form textarea:-webkit-autofill:focus {
  box-shadow:
    0 0 0 1000px #ffffff inset,
    0 0 0 4px rgba(189, 30, 46, 0.1);
  -webkit-text-fill-color: #111827;
}

.menu-toggle {
  display: none;
}

@media (max-width: 980px) {
  body:not(.auth-enabled):not(.dashboard-enabled) .menu-toggle {
    display: inline-grid;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
