:root {
  --bg: #f6f3ef;
  --bg-soft: #fbfaf8;
  --ink: #20242b;
  --muted: #757b84;
  --line: rgba(42, 48, 58, 0.1);
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.76);
  --shadow: 0 28px 80px rgba(54, 62, 75, 0.13);
  --shadow-soft: 0 16px 44px rgba(54, 62, 75, 0.09);
  --primary: #8f9f91;
  --primary-deep: #637364;
  --accent: #b9a895;
  --blue: #9badbd;
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(185, 168, 149, 0.32), transparent 32vw),
    radial-gradient(circle at 88% 12%, rgba(155, 173, 189, 0.34), transparent 30vw),
    linear-gradient(135deg, #f7f3ee 0%, #eef1ef 48%, #f8f5f1 100%);
  overflow-x: hidden;
}

#koikode-page-loader,
.page-loader {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body::selection {
  color: white;
  background: var(--primary-deep);
}

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

button,
input,
textarea {
  font: inherit;
}

.ambient {
  position: fixed;
  z-index: -3;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.54;
  pointer-events: none;
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

.ambient-one {
  left: -14vw;
  top: 10vh;
  background: #d5c4b0;
}

.ambient-two {
  right: -18vw;
  top: 44vh;
  background: #b3c0bd;
  animation-delay: -4s;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.15;
  background-image: linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.site-header {
  position: relative;
  top: auto;
  left: auto;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 24px;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  padding: 13px 14px 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 12px 34px rgba(72, 82, 96, 0.08);
  backdrop-filter: blur(24px) saturate(1.28);
  transform: none;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.header-shell {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: 0 clamp(16px, 2.5vw, 40px);
  pointer-events: none;
}

.header-shell .site-header,
.header-shell .nav-cta,
.header-shell .header-nav-cluster,
.header-shell .header-certs {
  pointer-events: auto;
}

.header-shell > .site-header {
  justify-self: center;
  grid-column: 2;
}

.header-nav-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  grid-column: 2;
  min-width: 0;
  max-width: min(100%, 960px);
}

.header-nav-cluster .site-header {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.header-cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: rgba(32, 36, 43, 0.82);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 10px 24px rgba(72, 82, 96, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.15);
  cursor: pointer;
  flex-shrink: 0;
}

.header-cart-btn:hover {
  transform: translateY(-2px);
  color: var(--ink);
}

.header-cart-btn.cart-shake {
  animation: cartShake 0.52s ease;
}

@keyframes cartShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  15% { transform: translateX(-4px) rotate(-6deg); }
  30% { transform: translateX(4px) rotate(6deg); }
  45% { transform: translateX(-3px) rotate(-4deg); }
  60% { transform: translateX(3px) rotate(4deg); }
  75% { transform: translateX(-1px) rotate(-2deg); }
}

.header-cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #66776a, #a69382);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(102, 119, 106, 0.28);
}

.header-cart-badge[hidden] {
  display: none !important;
}

.cart-fly-ring {
  position: fixed;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(122, 107, 90, 0.88);
  box-shadow:
    0 0 0 6px rgba(122, 107, 90, 0.12),
    0 0 24px rgba(122, 107, 90, 0.35);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(24, 28, 34, 0.24);
  backdrop-filter: blur(3px);
}

.cart-backdrop[hidden],
.cart-panel[hidden] {
  display: none !important;
}

.cart-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: min(440px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.cart-panel-head,
.cart-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.cart-panel-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.cart-panel-head h3 {
  margin: 0;
  font-size: 18px;
}

.cart-panel-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cart-panel-body {
  flex: 1;
  overflow: auto;
  padding: 12px 18px;
}

.cart-panel-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 14px;
  color: var(--muted);
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px 12px 18px;
  text-align: center;
}

.cart-empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: rgba(32, 36, 43, 0.42);
  background: rgba(255, 255, 255, 0.55);
}

.cart-empty h4 {
  margin: 0;
  font-size: 18px;
}

.cart-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

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

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  display: block;
}

.cart-item-thumb.has-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ece8e2;
}

.cart-item-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.cart-item-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 6px;
  font-size: 14px;
}

.cart-item-buy {
  display: inline-flex;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-deep);
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.product-card--shop .product-card-body {
  display: block;
  color: inherit;
}

.product-card--shop .product-card-detail {
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 14px;
}

.product-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(102, 119, 106, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.product-add-cart:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(72, 82, 96, 0.1);
}

.header-certs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.header-certs--left {
  justify-self: start;
  grid-column: 1;
}

.header-certs--right {
  justify-self: end;
  grid-column: 3;
  justify-content: flex-end;
  align-items: center;
}

.header-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(42, 48, 58, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 20px rgba(54, 62, 75, 0.06);
  pointer-events: auto;
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.header-account-btn.header-mail-btn {
  width: 40px;
  height: 40px;
  padding: 0;
}

.header-account-btn.header-mail-btn svg {
  display: block;
}

.inbox-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #8a4b4b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(90, 40, 40, 0.25);
}

.inbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(32, 36, 43, 0.28);
  backdrop-filter: blur(6px);
}

.inbox-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 96;
  width: min(420px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 239, 0.98));
  border-left: 1px solid rgba(42, 48, 58, 0.08);
  box-shadow: -18px 0 48px rgba(54, 62, 75, 0.14);
  animation: inbox-slide-in 0.28s ease;
}

.inbox-drawer[hidden],
.inbox-backdrop[hidden] {
  display: none !important;
  animation: none;
}

@keyframes inbox-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.inbox-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 20px 14px;
  border-bottom: 1px solid rgba(42, 48, 58, 0.08);
}

.inbox-drawer-head em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.inbox-drawer-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.inbox-drawer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inbox-drawer-actions .secondary-btn {
  padding: 7px 10px;
  font-size: 12px;
}

.inbox-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(42, 48, 58, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.inbox-drawer-body {
  flex: 1;
  overflow: auto;
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.inbox-item {
  display: grid;
  gap: 6px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(42, 48, 58, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.inbox-item.is-unread {
  border-color: rgba(85, 99, 87, 0.28);
  background:
    linear-gradient(135deg, rgba(85, 99, 87, 0.08), rgba(255, 255, 255, 0.85));
}

.inbox-item:hover {
  transform: translateY(-1px);
  border-color: rgba(85, 99, 87, 0.22);
}

.inbox-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.inbox-kind {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(85, 99, 87, 0.12);
  color: #4d5a50;
}

.inbox-item time {
  font-size: 11px;
  color: var(--muted);
}

.inbox-item strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

.inbox-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inbox-go {
  font-size: 12px;
  font-weight: 700;
  color: #4d5a50;
}

.inbox-empty {
  padding: 40px 20px;
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.inbox-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.inbox-drawer-foot {
  padding: 12px 18px;
  border-top: 1px solid rgba(42, 48, 58, 0.08);
  font-size: 12px;
  color: var(--muted);
}

body.inbox-open {
  overflow: hidden;
}

.header-account-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
}

.cart-push-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 36, 43, 0.28);
  backdrop-filter: blur(8px);
}

.cart-push-panel {
  width: min(100%, 440px);
  padding: 26px 24px 22px;
  text-align: left;
}

.cart-push-eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.cart-push-panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.cart-push-lead,
.cart-push-empty {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cart-push-section {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.cart-push-section + .cart-push-list {
  margin-bottom: 14px;
}

.cart-push-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-height: min(42vh, 280px);
  overflow: auto;
}

.cart-push-panel.is-sync .cart-push-list {
  max-height: min(28vh, 200px);
}

.cart-push-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.cart-push-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(120, 140, 160, 0.18), rgba(80, 96, 112, 0.08));
}

.cart-push-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-push-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-push-meta strong {
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-push-meta span {
  color: var(--muted);
  font-size: 13px;
}

.cart-push-panel .primary-btn {
  width: 100%;
}

.cart-push-panel.is-remove .cart-push-item,
.cart-push-list.is-remove .cart-push-item {
  background: rgba(255, 246, 246, 0.7);
}

.cart-push-list.is-add .cart-push-item {
  background: rgba(244, 250, 246, 0.85);
}

.header-cert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 1px 2px rgba(72, 82, 96, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.15);
  white-space: nowrap;
}

.header-cert-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, #8fa595, #6f7f72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.header-cert-icon::before {
  content: "";
  width: 7px;
  height: 4px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.95);
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}

.header-cert-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.header-cert-copy strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(32, 36, 43, 0.82);
}

.header-cert-copy em {
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: rgba(32, 36, 43, 0.46);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  color: white;
  font-size: 13px;
  background: linear-gradient(135deg, #6f7f72, #a89988);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 12px 26px rgba(99, 115, 100, 0.22);
}

.main-nav {
  justify-content: center;
  gap: 24px;
  color: rgba(32, 36, 43, 0.68);
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
}

.header-nav-cluster .main-nav {
  justify-content: flex-start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header-nav-cluster .main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 4px 0 6px;
  background-image: linear-gradient(90deg, var(--primary), var(--accent));
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: color 0.28s ease, background-size 0.28s ease;
}

.main-nav a::after {
  content: none;
  display: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background-size: 100% 2px;
}

.nav-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.nav-cta,
.primary-btn {
  color: white;
  background: linear-gradient(135deg, #66776a, #a69382);
  box-shadow: 0 14px 30px rgba(102, 119, 106, 0.24);
}

.nav-cta {
  padding: 0 20px;
  font-size: 14px;
}

.primary-btn {
  padding: 0 24px;
}

.secondary-btn {
  padding: 0 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(102, 119, 106, 0.24);
}

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 108px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
  min-height: 100vh;
  padding-top: 136px;
}

.hero-copy {
  margin-left: clamp(-48px, -2.8vw, -28px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero-copy h1.hero-title {
  font-size: clamp(40px, 5.2vw, 76px);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12em;
  line-height: 1.08;
  max-width: none;
  width: max-content;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-brand {
  color: var(--primary-deep);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.stacked-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08em;
  line-height: 1.08;
}

.stacked-title-line {
  display: block;
  white-space: nowrap;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  line-height: 1.85;
}

.hero-copy p {
  max-width: 660px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  perspective: 1200px;
  margin-left: clamp(20px, 2.5vw, 40px);
}

.glass-orb {
  position: absolute;
  inset: 8% 4% auto auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.96), rgba(155,173,189,0.26) 42%, rgba(143,159,145,0.16));
  box-shadow: inset 0 0 80px rgba(255,255,255,0.72), 0 40px 110px rgba(76, 88, 102, 0.18);
  animation: orbPulse 8s ease-in-out infinite;
}

.dashboard-card,
.floating-card,
.soft-card,
.product-card,
.review-card,
.blog-card,
.contact-form,
.certificate-wall article {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
}

.main-dashboard {
  position: absolute;
  right: 7%;
  bottom: 10%;
  width: min(420px, 88%);
  padding: 24px;
  border-radius: var(--radius-lg);
  transform: rotateX(8deg) rotateY(-10deg);
  animation: dashboardFloat 7s ease-in-out infinite;
}

.dashboard-top {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.dashboard-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(99, 115, 100, 0.34);
}

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

.metric-row div,
.review-summary div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.52);
}

.metric-row strong,
.review-summary strong {
  display: block;
  font-size: 42px;
  letter-spacing: -0.05em;
}

.metric-row small,
.review-summary small {
  color: var(--muted);
}

.chart-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.chart-lines i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99,115,100,0.12), rgba(99,115,100,0.72), rgba(185,168,149,0.46));
  transform-origin: left;
  animation: lineGrow 3.8s ease-in-out infinite alternate;
}

.chart-lines i:nth-child(2) { width: 76%; animation-delay: -0.4s; }
.chart-lines i:nth-child(3) { width: 88%; animation-delay: -0.8s; }
.chart-lines i:nth-child(4) { width: 62%; animation-delay: -1.2s; }

.floating-tags {
  position: absolute;
  inset: 0 0 52% 0;
  z-index: 2;
  pointer-events: none;
}

.floating-tags .floating-card {
  position: absolute;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(32, 36, 43, 0.75);
  white-space: nowrap;
}

.floating-tags .floating-card:nth-child(1) { left: 3%; top: 22%; animation: floatA 6.4s ease-in-out infinite; animation-delay: 0s; }
.floating-tags .floating-card:nth-child(2) { left: 17%; top: 5%; animation: floatA 7.2s ease-in-out infinite reverse; animation-delay: -1.1s; }
.floating-tags .floating-card:nth-child(3) { left: 33%; top: 18%; animation: floatA 6.8s ease-in-out infinite; animation-delay: -2.3s; }
.floating-tags .floating-card:nth-child(4) { left: 73%; top: 4%; animation: floatA 7.6s ease-in-out infinite reverse; animation-delay: -0.7s; }
.floating-tags .floating-card:nth-child(5) { left: 58%; top: 3%; animation: floatA 6.1s ease-in-out infinite; animation-delay: -3s; }
.floating-tags .floating-card:nth-child(6) { left: 7%; top: 8%; animation: floatA 6.6s ease-in-out infinite; animation-delay: -2.6s; }
.floating-tags .floating-card:nth-child(7) { left: 41%; top: 30%; animation: floatA 7.4s ease-in-out infinite reverse; animation-delay: -1.4s; }
.floating-tags .floating-card:nth-child(8) { left: 66%; top: 24%; animation: floatA 7.1s ease-in-out infinite reverse; animation-delay: -0.4s; }

.floating-card {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(32, 36, 43, 0.75);
  white-space: nowrap;
}

.split-section {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 36px;
  width: min(calc(100% - 28px), calc(var(--max) + 64px));
}

.split-section .advantage-grid {
  width: calc(100% + clamp(28px, 3.2vw, 56px));
  margin-right: clamp(-56px, -3.2vw, -28px);
}

.advantage-grid,
.product-grid,
.review-grid,
.blog-grid,
.certificate-wall {
  display: grid;
  gap: 20px;
}

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

.soft-card,
.product-card,
.review-card,
.blog-card,
.contact-form,
.certificate-wall article {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.soft-card {
  padding: 28px;
}

.soft-card:hover,
.review-card:hover,
.blog-card:hover,
.certificate-wall article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,0.9);
}

.product-card {
  padding: 18px;
  height: auto;
  transition: transform 0.28s ease;
}

.product-card:hover {
  transform: scale(1.025);
}

.card-index {
  display: inline-flex;
  margin-bottom: 36px;
  color: rgba(99, 115, 100, 0.5);
  font-weight: 900;
}

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

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.product-tabs button {
  cursor: pointer;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.45);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.product-tabs button:hover,
.product-tabs button.active {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-2px);
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.product-grid.product-grid--masonry {
  display: block;
  position: relative;
}

.product-grid.product-grid--masonry .product-card {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
}

.product-art:not(.has-cover) {
  height: 230px;
  margin-bottom: 22px;
  border-radius: 22px;
}

.product-art.has-cover {
  height: auto;
  min-height: 0;
  margin-bottom: 22px;
  border-radius: 22px;
  padding: 0;
  background: #ece8e2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gradient-a { background: linear-gradient(135deg, #cfc4b5, #879887, #f5f2ec); }
.gradient-b { background: linear-gradient(135deg, #d9d3c9, #9badbd, #f6f3ef); }
.gradient-c { background: linear-gradient(135deg, #b9a895, #d9ded9, #7d8d81); }

.carousel-visual.has-cover {
  background: #ece8e2;
  overflow: hidden;
}

.detail-featured.has-cover {
  background: #ece8e2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.blog-featured-art.has-cover,
.blog-home-art.has-cover {
  background: #ece8e2;
  overflow: hidden;
  display: block;
  position: relative;
}

.blog-card-art.has-cover {
  background: #ece8e2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-art.has-cover img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.blog-featured-art.has-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-home-art.has-cover img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-visual.has-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-featured.has-cover img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-art.product-art--tebex.has-cover {
  background: linear-gradient(180deg, #f5f2ec 0%, #ece8e2 100%);
}

.product-art.product-art--tebex.has-cover img {
  max-height: none;
}

.product-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  color: var(--muted);
}

.product-card--folded {
  display: none !important;
}

.product-grid-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.tebex-shop-tools {
  margin-bottom: 22px;
}

.tebex-shop-tools[hidden] {
  display: none !important;
}

.tebex-category-nav {
  margin-bottom: 14px;
}

.tebex-category-nav button em {
  font-style: normal;
  opacity: 0.72;
  font-size: 12px;
  margin-left: 2px;
}

.tebex-search-wrap {
  display: block;
}

.tebex-search {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tebex-search:focus {
  outline: none;
  border-color: rgba(122, 107, 90, 0.45);
  box-shadow: 0 0 0 3px rgba(122, 107, 90, 0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.carousel-visual.has-cover {
  min-height: 100%;
}

.product-card span,
.blog-card span {
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card strong {
  display: inline-flex;
  margin-top: 10px;
  font-size: 20px;
}

.review-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

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

.review-card {
  padding: 28px;
}

.review-card.featured {
  background: rgba(255,255,255,0.72);
}

.stars {
  margin-bottom: 18px;
  color: #b49b67;
  letter-spacing: 0.12em;
}

.review-card span {
  color: var(--primary-deep);
  font-weight: 800;
}

.honors {
  color: #f5f0e8;
}

.honors::before {
  content: "";
  position: absolute;
}

.honors {
  width: min(calc(100% - 40px), var(--max));
  margin-top: 36px;
  padding: 72px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 86% 18%, rgba(185,168,149,0.28), transparent 34%),
    linear-gradient(135deg, #27302d, #171b20 68%);
  box-shadow: 0 34px 100px rgba(25, 30, 35, 0.24);
}

.honors p,
.honors .eyebrow {
  color: rgba(245,240,232,0.72);
}

.honor-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline div {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.timeline b {
  color: #d8c6aa;
}

.timeline span {
  color: rgba(245,240,232,0.72);
}

.certificate-wall {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.certificate-wall article {
  min-height: 128px;
  display: grid;
  place-items: center;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border-color: rgba(255,255,255,0.18);
  color: rgba(245,240,232,0.9);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  text-align: center;
  font-weight: 800;
  line-height: 1.45;
}

.blog-grid {
  grid-template-columns: 1.45fr 1fr;
  align-items: start;
}

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

.blog-card h3 {
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.blog-card.large {
  grid-row: span 2;
  min-height: 480px;
  max-height: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--glass);
}

.blog-home-art {
  flex: 0 0 auto;
  height: 220px;
  max-height: 220px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.blog-home-art:not(.has-cover) {
  aspect-ratio: unset;
}

.blog-home-art.has-cover {
  height: 220px;
  max-height: 220px;
  padding: 0;
  flex: 0 0 220px;
  aspect-ratio: unset;
}

.blog-card.large .blog-card-copy {
  flex-shrink: 0;
  padding: 28px 30px 30px;
  background:
    radial-gradient(circle at 16% 18%, rgba(155,173,189,0.28), transparent 38%),
    rgba(255,255,255,0.58);
}

.blog-card.large h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.45;
  margin-bottom: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.contact-form h3 {
  margin: 0 0 8px;
}

.contact-form label,
.form-row label {
  display: grid;
  gap: 9px;
  color: rgba(32, 36, 43, 0.72);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(42, 48, 58, 0.14);
  border-radius: 18px;
  outline: none;
  padding: 15px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 2px rgba(42, 48, 58, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(117, 123, 132, 0.72);
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(143, 159, 145, 0.58);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 6px rgba(143, 159, 145, 0.13);
  transform: translateY(-1px);
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 36px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 1fr));
  gap: 36px 48px;
  padding-bottom: 36px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-brand .brand {
  white-space: nowrap;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.75;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.02em;
}

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

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.25s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.page-main {
  padding-top: 120px;
}

.page-hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 48px 0 64px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
}

.page-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 0 0 88px;
}

.section-shell--wide,
.page-section-wide {
  width: min(calc(100% - 40px), 1340px);
}

.page-section-tight {
  padding-bottom: 48px;
}

.section-heading--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

a.product-card,
a.blog-card {
  display: block;
  color: inherit;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
}

.product-card-footer small {
  color: var(--primary-deep);
  font-weight: 800;
}

.carousel-wrap {
  position: relative;
}

.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}

.carousel-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px) scale(0.985);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.65s;
  pointer-events: none;
  z-index: 1;
}

.carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.carousel-slide.active.is-leaving {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-40px) scale(0.985);
  pointer-events: none;
  z-index: 1;
}

.carousel-slide.active .carousel-visual {
  animation: carouselVisualIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.carousel-slide.active:not(.review-carousel-card) > div:first-child {
  animation: carouselCopyIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes carouselVisualIn {
  from {
    opacity: 0.45;
    transform: scale(1.05);
  }

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

@keyframes carouselCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

.carousel-slide.review-carousel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  left: 0;
  right: 0;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.carousel-slide.active.review-carousel-card .stars {
  animation: carouselCopyIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.carousel-slide.active.review-carousel-card p {
  animation: carouselCopyIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.carousel-slide.active.review-carousel-card .review-author {
  animation: carouselCopyIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.carousel-visual {
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  background: linear-gradient(135deg, #d9d3c9, #9badbd, #f6f3ef);
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.carousel-arrow,
.carousel-dot {
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
  transition: transform 0.25s ease, background 0.25s ease;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--ink);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  transition: transform 0.35s ease, background 0.35s ease, width 0.35s ease;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-2px);
}

.carousel-arrow:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transform: none;
    transition: opacity 0.25s ease, visibility 0.25s;
  }

  .carousel-slide.active.is-leaving {
    transform: none;
  }

  .carousel-slide.active .carousel-visual,
  .carousel-slide.active:not(.review-carousel-card) > div:first-child,
  .carousel-slide.active.review-carousel-card .stars,
  .carousel-slide.active.review-carousel-card p,
  .carousel-slide.active.review-carousel-card .review-author {
    animation: none;
  }
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-tabs button {
  cursor: pointer;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.filter-tabs button:hover,
.filter-tabs button.active {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-2px);
}

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

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

.platform-stats {
  display: grid;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.platform-stats-block h3 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 18px;
  color: var(--ink);
}

.stat-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 42px;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.stat-card small {
  color: var(--muted);
}

.stat-card-bar {
  margin-top: 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(99, 115, 100, 0.12);
  overflow: hidden;
}

.stat-card-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.review-card .review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cfc4b5, #879887);
}

.review-name {
  display: block;
  color: var(--primary-deep);
  font-weight: 800;
}

.review-role {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.review-carousel-card {
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
}

.review-carousel-card .stars {
  margin-bottom: 18px;
  color: #c8a96a;
  letter-spacing: 0.08em;
}

.review-carousel-card .review-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.review-carousel-card p {
  font-size: 20px;
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 560px;
}

.featured-quote {
  padding: clamp(36px, 5vw, 56px);
  text-align: center;
}

.cert-card,
.honor-card {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
}

.cert-card .cert-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.honor-card .honor-year {
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.honor-card:hover,
.cert-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.milestone-timeline {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.milestone-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.milestone-item b {
  color: var(--primary-deep);
  font-size: 18px;
}

.milestone-item h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.milestone-item p {
  margin: 0;
  font-size: 15px;
}

.blog-grid .blog-card:not(.large) {
  min-height: 230px;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: stretch;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-featured-art,
.blog-card-art {
  min-height: 100%;
  background: linear-gradient(135deg, #d9d3c9, #9badbd, #f6f3ef);
}

.blog-featured-art.has-cover {
  min-height: 340px;
  max-height: none;
  padding: 0;
  align-self: stretch;
}

.blog-card-art:not(.has-cover) {
  aspect-ratio: 16 / 10;
  max-height: 220px;
}

.blog-featured-body {
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.blog-featured-body h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
}

.blog-featured-body p {
  line-height: 1.75;
  margin-bottom: 16px;
}

@media (min-width: 769px) {
  .blog-featured-art:not(.has-cover) {
    min-height: 340px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 768px) {
  .blog-featured-art {
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: none;
  }

  .blog-featured-art.has-cover {
    min-height: 220px;
  }
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

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

.blog-masonry .blog-card {
  padding: 28px 30px;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.blog-list-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.blog-card.blog-card--folded {
  display: none !important;
}

.blog-card .blog-read {
  display: inline-flex;
  margin-top: 16px;
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 14px;
}

.blog-card .blog-excerpt {
  margin-bottom: 0;
}

.cta-block {
  padding: 48px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.breadcrumb a:hover {
  color: var(--primary-deep);
}

.detail-hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 48px 0 32px;
}

.detail-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.detail-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(143, 159, 145, 0.16);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 800;
}

.detail-featured {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 48px;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #cfc4b5, #879887, #f5f2ec);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

@media (max-width: 768px) {
  .detail-featured {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  .detail-featured.has-cover {
    padding: 16px;
  }
}

.prose {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
  padding-bottom: 88px;
}

.prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 48px 0 16px;
}

.prose h3 {
  font-size: 20px;
  margin: 28px 0 10px;
  color: var(--ink);
}

.prose blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.prose code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(155, 173, 189, 0.22);
  font-family: "Consolas", "SF Mono", monospace;
  font-size: 0.9em;
}

.prose a {
  color: var(--primary-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tebex-prose {
  line-height: 1.75;
  color: var(--ink-soft);
}

.tebex-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 12px 0;
}

.tebex-prose h1,
.tebex-prose h2,
.tebex-prose h3 {
  color: var(--ink);
  margin: 1.2em 0 0.6em;
}

.tebex-prose p {
  margin: 0.75em 0;
}

.tebex-prose ul,
.tebex-prose ol {
  margin: 0.75em 0;
  padding-left: 1.4em;
}

.article-signature {
  text-align: right;
  font-style: italic;
  border-left: none;
  background: transparent;
  padding: 0;
  margin-top: 24px;
}

.prose-table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.42);
}

.prose-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.prose-table th,
.prose-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(155, 173, 189, 0.25);
  vertical-align: top;
}

.prose-table th {
  font-weight: 800;
  color: var(--ink);
  background: rgba(155, 173, 189, 0.14);
}

.prose-table tr:last-child td {
  border-bottom: none;
}

.cfg-block {
  margin: 20px 0 28px;
  padding: 20px 22px;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(24, 28, 32, 0.88);
  color: #e8edf2;
  font-family: "Consolas", "SF Mono", monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.cfg-block code {
  padding: 0;
  background: none;
  font-size: inherit;
  color: inherit;
}

.blog-source-box {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-info-card {
  padding: 28px;
  margin-bottom: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 22px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(143, 159, 145, 0.16);
  color: var(--primary-deep);
  font-weight: 800;
}

.contact-item-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.contact-item-value {
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-placeholder {
  aspect-ratio: 21 / 6;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}

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

.team-profile {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
}

.team-avatar {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: white;
  background: linear-gradient(135deg, #66776a, #879887, #a69382);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 20px 50px rgba(99, 115, 100, 0.22);
}

.team-avatar--model {
  background: linear-gradient(135deg, #8a7355, #a69382, #7d8b72);
}

.team-avatar--art {
  background: linear-gradient(135deg, #7a6b82, #9a8aa8, #6d7d8f);
}

img.team-avatar,
img.team-member-avatar {
  object-fit: cover;
  display: block;
  background: #ece8e2;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  align-self: center;
}

img.team-avatar {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.team-role {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(143, 159, 145, 0.16);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 800;
}

.team-alias {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.team-tags span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.team-meta {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.team-meta strong {
  color: var(--ink);
}

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

.ref-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ref-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ref-item b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.ref-item p {
  margin: 0;
  font-size: 14px;
}

.ref-item a {
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 14px;
}

.ref-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(143, 159, 145, 0.16);
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 13px;
}

.team-note {
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(143, 159, 145, 0.35);
  background: rgba(255, 255, 255, 0.38);
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
  font-size: 15px;
}

.team-note p {
  margin: 0;
}

.team-note p + p {
  margin-top: 12px;
}

.team-note strong {
  color: var(--ink);
  font-weight: 800;
}

.team-motto {
  margin: 18px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.identity-list {
  display: grid;
  gap: 12px;
}

.identity-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  list-style: none;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.identity-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(143, 159, 145, 0.18);
  color: var(--primary-deep);
  font-weight: 800;
  flex-shrink: 0;
}

.skill-stack {
  display: grid;
  gap: 18px;
}

.skill-block {
  padding: 24px 26px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
}

.skill-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.skill-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-list span {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.honor-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.honor-badge {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.honor-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.honor-badge::before {
  content: "✦ ";
  color: var(--primary-deep);
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 8px;
  padding-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.page-breadcrumb a {
  color: var(--primary-deep);
  font-weight: 700;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero--compact {
  padding-top: 12px;
}

.team-member-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.22fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.team-member-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(22px, 2.5vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.22);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-member-cert {
  position: absolute;
  top: 16px;
  right: -34px;
  z-index: 2;
  width: 148px;
  padding: 7px 0;
  transform: rotate(45deg);
  transform-origin: center;
  display: block;
  text-align: center;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(99, 115, 100, 0.94), rgba(143, 159, 145, 0.88));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(54, 62, 75, 0.16);
  pointer-events: none;
}

.team-member-cert::before {
  content: none;
}

.team-member-cert--3dm {
  background: linear-gradient(135deg, #7eb4ff 0%, #4a8fe7 48%, #2f66c2 100%);
  box-shadow: 0 8px 20px rgba(47, 102, 194, 0.28);
}

.team-member-cert--cfx {
  background: linear-gradient(135deg, #fff1b8 0%, #e8c547 28%, #c9a227 58%, #f5dc7a 100%);
  color: #4a3810;
  border-bottom-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 22px rgba(184, 148, 31, 0.32);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.team-member-cert--byte {
  background: linear-gradient(135deg, #b794ff 0%, #8b5cf6 46%, #6d28d9 100%);
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.28);
}

.team-member-card--side {
  align-self: center;
}

.team-member-card--centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.team-member-card--centered .team-member-avatar {
  width: 128px;
  height: 128px;
  max-width: 128px;
  max-height: 128px;
  margin-bottom: 4px;
  font-size: 42px;
}

.team-member-card--centered .team-member-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member-card--centered .team-tags {
  justify-content: center;
}

.team-member-card--featured {
  padding: clamp(32px, 4vw, 44px) clamp(28px, 3vw, 36px);
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  z-index: 1;
}

.team-member-card--featured.team-member-card--centered .team-member-avatar {
  width: 128px;
  height: 128px;
  max-width: 128px;
  max-height: 128px;
  font-size: 48px;
}

.team-member-card--featured:hover {
  transform: translateY(-16px);
}

.team-member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, 0.9);
}

.team-member-card--soon {
  opacity: 0.72;
  cursor: default;
}

.team-member-card--soon:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.team-member-avatar {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: white;
  background: linear-gradient(135deg, #66776a, #879887, #a69382);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 16px 40px rgba(99, 115, 100, 0.18);
}

.team-member-avatar--muted {
  background: linear-gradient(135deg, #b8b0a6, #c9c2b8, #d8d2ca);
  color: rgba(255, 255, 255, 0.88);
  font-size: 42px;
}

.team-member-avatar--model {
  background: linear-gradient(135deg, #8a7355, #a69382, #7d8b72);
}

.team-member-avatar--art {
  background: linear-gradient(135deg, #7a6b82, #9a8aa8, #6d7d8f);
}

.team-member-body h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 2.5vw, 30px);
}

.team-member-body p {
  margin: 12px 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.team-member-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 800;
}

.team-member-link--muted {
  color: var(--muted);
  font-weight: 700;
}

@keyframes ambientFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4vw, -3vh, 0) scale(1.08); }
}

@keyframes orbPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.035); }
}

@keyframes dashboardFloat {
  0%, 100% { transform: rotateX(8deg) rotateY(-10deg) translateY(0); }
  50% { transform: rotateX(5deg) rotateY(-7deg) translateY(-16px); }
}

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

@keyframes lineGrow {
  from { transform: scaleX(0.45); opacity: 0.62; }
  to { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 1500px) {
  .header-certs--left {
    display: none;
  }
}

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

  .header-shell {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    width: min(calc(100% - 36px), var(--max));
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-shell > .site-header,
  .header-shell .header-nav-cluster {
    grid-column: 1;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .header-shell > .site-header,
  .header-nav-cluster .site-header {
    width: 100%;
    max-width: none;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

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

  .main-nav {
    display: none;
  }

  .hero,
  .split-section,
  .honor-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split-section {
    width: min(calc(100% - 36px), var(--max));
  }

  .split-section .advantage-grid {
    width: 100%;
    margin-right: 0;
  }

  .hero-visual {
    min-height: 440px;
    margin-left: 0;
  }

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

  .hero-copy h1.hero-title {
    font-size: clamp(32px, 7vw, 52px);
  }

  .floating-tags .floating-card:nth-child(n+7) {
    display: none;
  }

  .advantage-grid,
  .product-grid,
  .review-grid,
  .review-summary,
  .blog-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-grid,
  .blog-masonry,
  .carousel-slide,
  .contact-grid,
  .footer-grid,
  .team-profile {
    grid-template-columns: 1fr;
  }

  .team-member-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .team-member-cert {
    top: 14px;
    right: -36px;
    width: 142px;
    padding: 6px 0;
    font-size: 9px;
  }

  .team-member-card--featured {
    transform: none;
  }

  .team-member-card--featured:hover {
    transform: translateY(-6px);
  }

  .team-member-card {
    grid-template-columns: 1fr;
  }

  .team-member-card:not(.team-member-card--centered) {
    grid-template-columns: 100px 1fr;
  }

  .team-member-card:not(.team-member-card--centered) .team-member-body {
    text-align: left;
  }

  .team-member-avatar {
    width: 128px;
    height: 128px;
    max-width: 128px;
    max-height: 128px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .honors {
    padding: 42px 24px;
  }
}

@media (max-width: 620px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max));
    padding: 74px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-copy h1.hero-title {
    font-size: clamp(26px, 6.8vw, 40px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .certificate-wall {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    padding: 0 16px;
  }
}

/* Admin edit mode */
body.has-edit-toolbar {
  padding-top: 58px;
}

.edit-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1400;
  background: rgba(32, 36, 43, 0.92);
  color: #fff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.edit-toolbar-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 52px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0;
}

.edit-toolbar-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(143, 159, 145, 0.35);
  font-size: 12px;
  font-weight: 700;
}

.edit-toolbar-user {
  font-size: 13px;
  opacity: 0.85;
}

.edit-toolbar .secondary-btn,
.edit-toolbar .primary-btn {
  padding: 8px 14px;
  font-size: 13px;
}

.edit-add-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.edit-add-btn,
.edit-chip {
  border: 1px dashed rgba(99, 115, 100, 0.45);
  background: rgba(143, 159, 145, 0.12);
  color: var(--primary-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.edit-add-btn {
  padding: 8px 14px;
}

.edit-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 6px 10px;
}

.edit-chip:hover,
.edit-add-btn:hover {
  background: rgba(143, 159, 145, 0.22);
}

/* Locale prompt & Google online translate */
.locale-bubble-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.locale-bubble-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.locale-scroll-top {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.locale-scroll-top:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(143, 159, 145, 0.45);
  transform: translateY(-2px);
}

.locale-scroll-top svg {
  display: block;
}

.locale-bubble-tip {
  position: relative;
  max-width: 240px;
  padding: 10px 14px;
  border: 1px solid rgba(143, 159, 145, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(99, 115, 100, 0.18);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
  text-align: right;
  animation: localeTipIn 0.45s ease;
  pointer-events: none;
}

.locale-bubble-tip--en {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.locale-bubble-tip::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
}

.locale-bubble-tip[hidden] {
  display: none;
}

.locale-bubble {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  animation: localeBubbleBreath 2.8s ease-in-out infinite;
  transition: background 0.25s ease;
}

.locale-bubble-wrap--hint .locale-bubble {
  border-color: rgba(143, 159, 145, 0.55);
  background: rgba(255, 255, 255, 0.94);
  animation:
    localeBubbleBreath 2.8s ease-in-out infinite,
    localeBubbleGlow 2.2s ease-in-out infinite;
}

.locale-bubble:hover {
  background: rgba(255, 255, 255, 0.96);
}

.locale-bubble:active {
  transform: scale(0.96);
}

@keyframes localeBubbleBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

@keyframes localeBubbleGlow {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(143, 159, 145, 0.18),
      0 8px 24px rgba(143, 159, 145, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(143, 159, 145, 0.08),
      0 0 28px rgba(143, 159, 145, 0.42),
      0 10px 30px rgba(99, 115, 100, 0.28);
  }
}

@keyframes localeTipIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.google-translate-host {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.locale-modal-open {
  overflow: hidden;
}

.locale-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(32, 36, 43, 0.28);
  backdrop-filter: blur(8px);
}

.locale-modal {
  position: relative;
  width: min(100%, 520px);
  padding: 34px 32px 28px;
  animation: localeModalIn 0.35s ease;
}

.locale-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.locale-modal h2 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 4vw, 30px);
}

.locale-modal-region {
  margin: 0 0 12px;
}

.locale-modal-region-code {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  opacity: 0.85;
}

.locale-modal-region-zh,
.locale-modal-tip {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.locale-modal-region-zh strong,
.locale-modal-tip strong {
  color: var(--ink);
}

.locale-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.locale-modal-picker {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.locale-modal-picker[hidden] {
  display: none;
}

.locale-modal-lang-label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.locale-modal-lang-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.locale-modal-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.locale-translate-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  background: rgba(12, 16, 14, 0.42);
  backdrop-filter: blur(6px);
}

.locale-translate-panel {
  min-width: min(92vw, 320px);
  padding: 28px 24px;
  text-align: center;
}

.locale-translate-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.locale-translate-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--accent, #8fa88a);
  border-radius: 50%;
  animation: localeSpin 0.8s linear infinite;
}

@keyframes localeSpin {
  to { transform: rotate(360deg); }
}

@keyframes localeModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-gadget {
  font-size: 0 !important;
}

iframe.goog-te-banner-frame {
  display: none !important;
}