:root {
  --paper: #f4f0e6;
  --paper-deep: #ebe3d3;
  --surface: #fbf8f1;
  --ink: #13262d;
  --ink-2: #3c4e54;
  --muted: #748487;
  --line: rgba(19, 38, 45, 0.15);
  --line-strong: rgba(19, 38, 45, 0.3);
  --accent: #0d6fa8;
  --accent-deep: #09547f;
  --cyan: #3bb6e8;
  --accent-soft: rgba(13, 111, 168, 0.08);
  --dark: #0b2028;
  --dark-2: #12323d;
  --gold: #a67c3d;
  --danger: #b4443c;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman",
    serif;
  --shadow: 0 24px 70px rgba(11, 32, 40, 0.12);
  --shadow-soft: 0 14px 40px rgba(11, 32, 40, 0.07);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(59, 182, 232, 0.09), transparent 26%),
    radial-gradient(circle at 92% 30%, rgba(166, 124, 61, 0.06), transparent 24%),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(19, 38, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 38, 45, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

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

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

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(59, 182, 232, 0.28);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
}

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

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 240, 230, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(11, 32, 40, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand-text small {
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 18px;
}

.nav-link {
  position: relative;
  padding: 9px 15px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(19, 38, 45, 0.05);
}

.nav-link.is-active {
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span {
  top: 50%;
}

.menu-toggle span::before {
  content: "";
  top: -5px;
}

.menu-toggle span::after {
  content: "";
  top: 5px;
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  transform: translateX(-50%) rotate(45deg);
  top: 0;
}

.menu-open .menu-toggle span::after {
  transform: translateX(-50%) rotate(-45deg);
  top: 0;
}

.demo-ribbon {
  background: var(--dark);
  color: rgba(244, 240, 230, 0.8);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 7px 20px;
}

.demo-ribbon strong {
  color: var(--cyan);
  font-weight: 600;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--ink);
  color: #f8f4ea;
}

.btn--primary:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
}

.btn--light {
  background: #f5f0e4;
  color: var(--dark);
}

.btn--light:hover {
  background: #fff;
}

.btn--line-light {
  border-color: rgba(245, 240, 228, 0.35);
  color: #f5f0e4;
}

.btn--line-light:hover {
  border-color: rgba(245, 240, 228, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-deep);
}

.btn--sm {
  padding: 9px 17px;
  font-size: 12px;
}

.btn--lg {
  padding: 15px 30px;
  font-size: 14px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(13, 111, 168, 0.28);
  padding-bottom: 3px;
  transition: border-color 0.16s ease;
}

.text-link:hover {
  border-color: var(--accent-deep);
}

/* ---------- shared editorial ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--accent-deep);
  text-transform: uppercase;
  line-height: 1.6;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head-main {
  min-width: 0;
}

.section-kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.section-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.section-title em {
  font-style: normal;
  color: var(--accent-deep);
}

.section-side {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.section-desc {
  margin: 0;
  max-width: 430px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.section-head .text-link {
  flex-shrink: 0;
  margin-bottom: 4px;
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(56px, 8vw, 104px) 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.hero-title span {
  display: block;
  color: var(--accent-deep);
}

.hero-intro {
  margin: 28px 0 0;
  max-width: 540px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 2;
}

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

.hero-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.identity-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark);
  color: #f5f0e4;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  flex-shrink: 0;
}

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

.identity-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.identity-text span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero-specialty {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  max-width: 300px;
}

.hero-panel {
  position: relative;
  min-height: 456px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 80% 12%, rgba(59, 182, 232, 0.2), transparent 38%),
    linear-gradient(150deg, #0c242d, #0b1b21 62%, #123743);
  color: #f3eee2;
  padding: 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(243, 238, 226, 0.12);
  border-radius: 3px;
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  border: 1px solid rgba(59, 182, 232, 0.16);
  box-shadow: 0 0 0 34px rgba(59, 182, 232, 0.04), 0 0 0 70px rgba(59, 182, 232, 0.025);
  pointer-events: none;
}

.panel-label {
  position: relative;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(243, 238, 226, 0.44);
  text-transform: uppercase;
}

.panel-profile {
  position: relative;
  margin-top: 46px;
}

.panel-profile h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.panel-profile p {
  margin: 8px 0 0;
  color: rgba(243, 238, 226, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.panel-stats {
  position: relative;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(243, 238, 226, 0.14);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(243, 238, 226, 0.08);
}

.stat-row:last-child {
  border-bottom: 0;
}

.stat-row dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(243, 238, 226, 0.42);
}

.stat-row dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-align: right;
}

.panel-note {
  position: relative;
  margin: 22px 0 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(243, 238, 226, 0.36);
  line-height: 1.7;
}

.panel-watermark {
  position: absolute;
  right: -12px;
  top: 12px;
  width: 180px;
  opacity: 0.09;
  filter: grayscale(1) brightness(4);
  pointer-events: none;
}

/* ---------- home case cards ---------- */

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

.case-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  group: case;
}

.case-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #173842, #0c222a);
  display: grid;
  place-items: center;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.case-card:hover .case-media img {
  transform: scale(1.04);
}

.case-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  pointer-events: none;
}

.case-media--0 {
  background:
    radial-gradient(circle at 78% 20%, rgba(59, 182, 232, 0.24), transparent 42%),
    linear-gradient(145deg, #0d2832, #123c4a);
}

.case-media--1 {
  background:
    radial-gradient(circle at 20% 80%, rgba(166, 124, 61, 0.22), transparent 44%),
    linear-gradient(145deg, #1d2f2c, #0f2321);
}

.case-media--2 {
  background:
    radial-gradient(circle at 76% 76%, rgba(13, 111, 168, 0.3), transparent 46%),
    linear-gradient(145deg, #14262f, #223b45);
}

.media-glyph {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 62px);
  color: rgba(245, 240, 228, 0.72);
  letter-spacing: 0.1em;
  padding-left: 0.1em;
}

.case-body {
  padding: 20px 2px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.case-title {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.case-summary {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  line-height: 1.7;
}

/* ---------- knowledge rows ---------- */

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

.article-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 40px;
  gap: 24px;
  align-items: start;
  padding: 28px 4px 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease, padding-left 0.18s ease;
}

.article-row:hover {
  background: rgba(255, 255, 255, 0.3);
  padding-left: 12px;
}

.article-index {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  padding-top: 4px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.article-meta span:first-child {
  color: var(--accent-deep);
}

.article-title {
  margin: 9px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.article-summary {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.article-arrow {
  justify-self: end;
  font-size: 18px;
  color: var(--muted);
  padding-top: 4px;
  transition: color 0.16s ease, transform 0.16s ease;
}

.article-row:hover .article-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ---------- services home ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.28);
  transition: background 0.2s ease;
}

.service-card:hover {
  background: var(--surface);
}

.service-num {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.service-name {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.service-desc {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

.service-deliverables {
  list-style: none;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 11px;
  color: var(--ink-2);
}

.service-deliverables li::before {
  content: "—";
  color: var(--accent);
  margin-right: 6px;
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 30px;
  background: var(--surface);
  overflow: hidden;
}

.about-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.about-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark);
  color: #f5f0e4;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
}

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

.about-name {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.about-role {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.about-facts {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
}

.about-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.about-facts dt {
  color: var(--muted);
}

.about-facts dd {
  margin: 0;
  text-align: right;
}

.about-text h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.about-text > p {
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 2;
  white-space: pre-wrap;
}

.about-specialty {
  margin-top: 26px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cert-item {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 10px;
  color: var(--ink-2);
  line-height: 1.6;
}

.cert-item span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.compliance-box {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  font-size: 11px;
  line-height: 1.9;
  color: var(--ink-2);
}

.compliance-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}

/* ---------- contact band ---------- */

.contact-band {
  background:
    radial-gradient(circle at 82% 18%, rgba(59, 182, 232, 0.16), transparent 36%),
    linear-gradient(150deg, #0b2028, #102e39);
  color: #f4f0e6;
  padding: clamp(64px, 9vw, 110px) 0;
  position: relative;
  overflow: hidden;
}

.contact-band::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 230, 0.1);
  box-shadow: 0 0 0 42px rgba(244, 240, 230, 0.025), 0 0 0 90px rgba(244, 240, 230, 0.018);
  pointer-events: none;
}

.band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: end;
}

.contact-band .eyebrow {
  color: rgba(244, 240, 230, 0.58);
}

.band-title {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.band-title em {
  font-style: normal;
  color: var(--cyan);
}

.band-desc {
  margin: 20px 0 0;
  max-width: 470px;
  color: rgba(244, 240, 230, 0.62);
  font-size: 13px;
  line-height: 1.95;
}

.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.band-contact {
  margin: 24px 0 0;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 230, 0.5);
}

.band-contact a {
  color: rgba(244, 240, 230, 0.82);
  border-bottom: 1px solid rgba(244, 240, 230, 0.25);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  padding: 64px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
}

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

.footer-brand p {
  margin: 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--accent-deep);
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.8;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .footer-disclaimer {
  max-width: 680px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.footer-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- page hero (list pages) ---------- */

.page-hero {
  padding: 76px 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  margin-bottom: 22px;
}

.page-title {
  margin: 0;
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: 0.03em;
}

.page-intro {
  margin: 24px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

/* ---------- filters ---------- */

.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chip {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding: 7px 15px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.chip:hover {
  color: var(--ink);
  border-color: var(--line);
}

.chip.is-active {
  background: var(--ink);
  color: #f8f4ea;
  border-color: var(--ink);
}

.search-box {
  position: relative;
  flex-shrink: 0;
}

.search-box input {
  width: 220px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 7px 26px 7px 2px;
  font-size: 12px;
  outline: none;
  transition: border-color 0.16s ease;
}

.search-box input:focus {
  border-color: var(--accent);
}

.search-box::after {
  content: "⌕";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-52%);
  color: var(--muted);
  font-size: 15px;
}

.results {
  padding: 42px 0 20px;
}

.results-note {
  margin: 0 0 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.load-more {
  display: flex;
  justify-content: center;
  padding: 36px 0 10px;
}

/* ---------- empty / loading / error ---------- */

.loading-screen {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.loading-screen img {
  width: 44px;
  height: 44px;
  opacity: 0.8;
  animation: breathe 1.6s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-3px);
  }
}

.empty-state {
  padding: 72px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
  text-align: center;
  background: rgba(251, 248, 241, 0.4);
}

.empty-state .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.empty-state .eyebrow::before {
  display: none;
}

.empty-state h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.empty-state p {
  margin: 12px auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.empty-state .btn {
  margin-top: 22px;
}

.error-state {
  min-height: 50vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 14px;
  padding: 80px 24px;
}

.error-state h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.error-state p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- detail pages ---------- */

.detail {
  padding: 44px 0 100px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 40px;
  transition: color 0.16s ease;
}

.back-link:hover {
  color: var(--accent-deep);
}

.detail-head {
  max-width: 920px;
}

.detail-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}

.detail-kicker span:not(:first-child) {
  color: var(--muted);
}

.detail-title {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.03em;
}

.detail-summary {
  margin: 22px 0 0;
  max-width: 760px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.95;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.detail-meta strong {
  margin-left: 5px;
  color: var(--ink-2);
  font-weight: 500;
}

.detail-cover {
  margin-top: 42px;
  aspect-ratio: 16 / 8;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(59, 182, 232, 0.24), transparent 42%),
    linear-gradient(145deg, #0d2832, #123c4a);
  display: grid;
  place-items: center;
  position: relative;
}

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

.detail-cover .media-glyph {
  font-size: clamp(60px, 9vw, 110px);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
  margin-top: 54px;
}

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

.content-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-section h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.content-section h2::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transform: translateY(-5px);
}

.content-section p {
  margin: 0 0 12px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 2;
  white-space: pre-wrap;
}

.content-section p:last-child {
  margin-bottom: 0;
}

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

.point-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.9;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.device-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.device-table th,
.device-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.device-table th {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 500;
  border-bottom-color: var(--line-strong);
}

.device-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.device-table td {
  color: var(--ink-2);
}

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

.image-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.note-block {
  margin: 0;
  padding: 24px 26px;
  border-left: 2px solid var(--gold);
  background: rgba(166, 124, 61, 0.06);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
}

.detail-aside {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
  background: rgba(251, 248, 241, 0.5);
}

.aside-card h3 {
  margin: 0 0 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 500;
}

.aside-card dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.aside-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.aside-card dt {
  color: var(--muted);
}

.aside-card dd {
  margin: 0;
  text-align: right;
  color: var(--ink-2);
}

.aside-card--dark {
  background: var(--dark);
  border-color: transparent;
  color: #f4f0e6;
}

.aside-card--dark p {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
}

.aside-card--dark .text-link {
  color: rgba(244, 240, 230, 0.82);
  border-color: rgba(244, 240, 230, 0.3);
}

.aside-card--dark .text-link:hover {
  border-color: #fff;
}

/* ---------- article detail ---------- */

.article-detail {
  padding: 44px 0 100px;
}

.article-hero {
  max-width: 880px;
}

.article-hero .detail-title {
  font-size: clamp(34px, 5vw, 56px);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 48px;
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin: 46px 0 16px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 2.05;
}

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

.author-card {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.author-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark);
  color: #f4f0e6;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 15px;
  flex-shrink: 0;
}

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

.author-head strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.author-head span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.author-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.author-card .text-link {
  margin-top: 16px;
}

/* ---------- services page ---------- */

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.process-step {
  padding: 26px 20px 30px 0;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-step span {
  font-family: var(--serif);
  font-size: 11px;
  color: var(--accent);
}

.process-step h3 {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.process-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.85;
}

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

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

.faq-q::after {
  content: "+";
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 60px 24px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
  white-space: pre-wrap;
}

/* ---------- contact page ---------- */

.contact-page {
  padding: 76px 0 100px;
}

.contact-page-title {
  margin: 22px 0 0;
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.03em;
}

.contact-page-intro {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-top: 56px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.info-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-block h3 {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.info-block p,
.info-block a {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  word-break: break-word;
}

.info-block a:hover {
  color: var(--accent-deep);
}

.info-block .muted {
  color: var(--muted);
  font-size: 11px;
}

.info-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.copy-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  padding: 2px 9px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.qr-box {
  margin-top: 14px;
  width: 132px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.contact-form-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-soft);
}

.form-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.form-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.form-context {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  font-size: 11px;
  line-height: 1.8;
  color: var(--ink-2);
}

.form-context a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(13, 111, 168, 0.3);
}

.lead-form {
  margin-top: 26px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

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

.field label,
.field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.field label em {
  color: var(--accent);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: #fffdf8;
  padding: 11px 12px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
  resize: vertical;
  min-height: 104px;
  line-height: 1.75;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 111, 168, 0.1);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 10px;
  line-height: 1.5;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
}

.consent input {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.consent a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(13, 111, 168, 0.3);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.form-submit-row small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.form-error {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(180, 68, 60, 0.25);
  background: rgba(180, 68, 60, 0.06);
  color: var(--danger);
  font-size: 11px;
  line-height: 1.7;
  border-radius: 2px;
}

.form-success {
  padding: 28px 0 8px;
  text-align: center;
}

.form-success .success-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 22px;
}

.form-success h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.form-success p {
  margin: 12px auto 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.form-success .contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  margin-top: 20px;
  font-size: 12px;
}

.form-success .contact-lines a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(13, 111, 168, 0.3);
}

.form-success .btn {
  margin-top: 24px;
}

/* ---------- privacy ---------- */

.privacy {
  padding: 64px 0 100px;
}

.privacy-head {
  max-width: 760px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.privacy-head h1 {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 500;
}

.privacy-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.privacy-body {
  max-width: 760px;
  padding-top: 12px;
}

.privacy-body h2 {
  margin: 34px 0 10px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.privacy-body p,
.privacy-body li {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 2;
}

.privacy-body ul {
  padding-left: 20px;
}

.privacy-body a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(13, 111, 168, 0.3);
}

/* ---------- toast / noscript ---------- */

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 120;
  transform: translateX(-50%);
  max-width: min(420px, calc(100vw - 40px));
  padding: 11px 20px;
  border-radius: 3px;
  background: var(--dark);
  color: #f4f0e6;
  font-size: 12px;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 40px rgba(11, 32, 40, 0.28);
  animation: toast-up 0.24s ease;
}

@keyframes toast-up {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.noscript {
  padding: 40px;
  text-align: center;
  color: var(--danger);
  font-size: 13px;
}

/* ---------- team / providers ---------- */

.hero-team {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-avatars {
  display: flex;
  align-items: center;
}

.provider-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark);
  color: #f5f0e4;
  display: inline-grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  flex-shrink: 0;
}

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

.team-avatars .provider-avatar--xs {
  width: 30px;
  height: 30px;
  font-size: 11px;
  margin-left: -9px;
  border: 2px solid var(--paper);
}

.team-avatars .provider-avatar--xs:first-child {
  margin-left: 0;
}

.provider-avatar--sm {
  width: 38px;
  height: 38px;
  font-size: 13px;
}

.provider-avatar--lg {
  width: 88px;
  height: 88px;
  font-size: 28px;
}

.hero-team-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.hero-team-text strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-team-text span {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-panel--team .panel-team {
  position: relative;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.hero-panel--team .panel-provider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(243, 238, 226, 0.1);
}

.hero-panel--team .panel-provider:last-child {
  border-bottom: 0;
}

.panel-provider-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.panel-provider-text strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.panel-provider-text small {
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(243, 238, 226, 0.5);
}

.panel-provider-arrow {
  color: rgba(243, 238, 226, 0.4);
  font-size: 13px;
  transition: transform 0.18s ease, color 0.18s ease;
}

.panel-provider:hover .panel-provider-arrow {
  color: var(--cyan);
  transform: translateX(3px);
}

.panel-empty {
  margin: 0;
  padding: 18px 0;
  font-size: 11px;
  color: rgba(243, 238, 226, 0.5);
}

.hero-panel--team .panel-stats {
  margin-top: 26px;
}

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

.provider-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.provider-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--ink-2);
}

.provider-card--featured::before {
  content: "团队推荐";
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.provider-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.provider-card-title {
  flex: 1;
  min-width: 0;
}

.provider-card-title h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.provider-card-title p {
  margin: 2px 0 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.provider-arrow {
  color: var(--muted);
  font-size: 14px;
}

.provider-meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.provider-card .tags {
  margin: 0;
}

.provider-services {
  margin: 0;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.8;
  color: var(--ink-2);
}

.service-team {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.service-team a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(13, 111, 168, 0.28);
}

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

.team-note-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(251, 248, 241, 0.5);
}

.team-note-card--wide {
  grid-column: 1 / -1;
}

.team-note-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.team-note-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}

.team-facts {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.team-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.team-facts dt {
  color: var(--muted);
}

.team-facts dd {
  margin: 0;
  color: var(--ink-2);
}

.team-compliance {
  margin-top: 36px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.team-compliance strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}

.team-compliance p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-2);
}

.provider-detail {
  padding-top: 54px;
  padding-bottom: 96px;
}

.provider-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-strong);
}

.provider-hero-main {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.provider-hero .eyebrow {
  margin-bottom: 8px;
}

.provider-hero .detail-title {
  margin-top: 0;
}

.provider-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.provider-service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.provider-service-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.provider-service-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.provider-service-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.provider-service-head span {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: right;
}

.provider-service-row p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.aside-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.provider-others {
  margin-top: 78px;
  padding-top: 40px;
  border-top: 1px solid var(--line-strong);
}

.provider-others-title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(42px, 6.2vw, 66px);
  }

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

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

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .section-side {
    align-items: flex-start;
  }

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

  .about-card {
    max-width: 480px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

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

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

  .process-step:nth-child(3) {
    border-right: 0;
  }

  .process-step:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

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

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

  .nav-link {
    padding: 9px 11px;
  }
}

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

  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    z-index: 59;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 16px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(11, 32, 40, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }

  .menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 13px 8px;
    border-radius: 3px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .nav-link.is-active {
    background: transparent;
    color: var(--accent-deep);
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero-panel {
    min-height: 380px;
  }

  .provider-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .provider-hero-actions {
    width: 100%;
  }

  .team-note-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-title {
    font-size: clamp(40px, 11vw, 64px);
  }

  .hero-intro {
    font-size: 14px;
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .section-side {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

  .band-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .band-actions {
    justify-content: flex-start;
  }

  .band-contact {
    text-align: left;
  }

  .detail-layout,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .detail-aside {
    position: static;
  }

  .detail-cover {
    aspect-ratio: 4 / 3;
  }

  .article-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 16px;
  }

  .article-arrow {
    display: none;
  }

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

  .process-step {
    border-top: 1px solid var(--line);
  }

  .process-step:nth-child(1),
  .process-step:nth-child(2) {
    border-top: 0;
  }

  .process-step:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .process-step:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .page-hero {
    padding: 54px 0 38px;
  }

  .contact-page {
    padding: 54px 0 80px;
  }

  .detail,
  .article-detail {
    padding: 32px 0 72px;
  }

  .filters {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-box,
  .search-box input {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .container,
  .header-inner {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 68px;
    gap: 14px;
  }

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

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    display: none;
  }

  .site-nav {
    top: 68px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-foot {
    gap: 16px;
  }

  .hero-specialty {
    max-width: none;
  }

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

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

  .provider-card {
    padding: 22px;
  }

  .provider-hero-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .provider-avatar--lg {
    width: 72px;
    height: 72px;
    font-size: 24px;
  }

  .provider-hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .provider-others {
    margin-top: 54px;
  }

  .case-title {
    font-size: 19px;
  }

  .article-row {
    padding: 22px 0;
  }

  .article-title {
    font-size: 20px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-step {
    border-right: 0 !important;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }

  .process-step:first-child {
    border-top: 0;
  }

  .faq-q {
    font-size: 15px;
  }

  .faq-a {
    padding-right: 20px;
  }

  .detail-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  .detail-summary {
    font-size: 14px;
  }

  .image-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-wrap {
    padding: 22px 18px;
  }

  .band-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  .page-title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .contact-page-title {
    font-size: clamp(32px, 10vw, 46px);
  }
}

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

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