/* ==========================================================================
   江苏凯尔富律师事务所 — 主样式表
   Palette: 藏青 (navy) + 香槟金 (champagne gold)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --navy-950: #070f1f;
  --navy-900: #0b1730;
  --navy-800: #102043;
  --navy-700: #16294f;
  --navy-600: #1e3563;
  --navy-500: #2a4477;

  --gold-700: #8f6d2f;
  --gold-600: #a9843f;
  --gold-500: #c6a15b;
  --gold-400: #d9bc82;
  --gold-300: #ead7ac;
  --gold-100: #f6eeda;

  --ivory: #f8f6f1;
  --ivory-2: #f1ede4;
  --paper: #ffffff;

  --ink: #1c2333;
  --ink-2: #49536b;
  --ink-3: #7d869b;

  --line: #e6e1d5;
  --line-soft: #efece4;

  --font-serif: "Source Han Serif SC", "Noto Serif CJK SC", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-en: "Times New Roman", "Georgia", "Songti SC", serif;

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);

  --shadow-sm: 0 2px 14px rgba(11, 23, 48, 0.06);
  --shadow-md: 0 16px 46px rgba(11, 23, 48, 0.1);
  --shadow-lg: 0 30px 70px rgba(7, 15, 31, 0.24);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(198, 161, 91, 0.28);
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.site-header .container,
.mobile-bar .container {
  max-width: 1320px;
}

.section {
  padding: 104px 0;
}

.section--ivory {
  background: var(--ivory);
}

.section--tight {
  padding: 72px 0;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: -0.14em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 24px;
  z-index: 300;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 10px 18px;
  font-size: 15px;
  transition: top 0.3s var(--ease);
}

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

/* section headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.7;
}

.eyebrow--left::before {
  display: none;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--navy-900);
}

.section-title--light {
  color: #fff;
}

.section-desc {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.62);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head--left {
  text-align: left;
  margin-inline: 0;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
  max-width: none;
  margin-bottom: 48px;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid transparent;
  font-size: 16px;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.btn .icon {
  font-size: 17px;
}

.btn-gold {
  background: linear-gradient(135deg, #cdaa62, #b18a40);
  color: #fff;
  box-shadow: 0 10px 26px rgba(177, 138, 64, 0.28);
}

.btn-gold:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(177, 138, 64, 0.38);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.btn-outline-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

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

.btn-navy:hover {
  color: #fff;
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-line {
  border-color: var(--line);
  background: #fff;
  color: var(--navy-800);
}

.btn-line:hover {
  color: var(--gold-600);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--gold-600);
}

.text-link .icon {
  transition: transform 0.35s var(--ease);
}

.text-link:hover {
  color: var(--gold-700);
}

.text-link:hover .icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
}

.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  height: 38px;
  overflow: hidden;
  transition: height 0.4s var(--ease), opacity 0.3s var(--ease);
}

.topbar-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-note {
  color: rgba(255, 255, 255, 0.52);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar-meta a,
.topbar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-meta .icon {
  color: var(--gold-400);
  font-size: 15px;
}

.topbar-meta a:hover {
  color: var(--gold-300);
}

.navbar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: height 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header.is-solid .topbar {
  height: 0;
  opacity: 0;
}

.site-header.is-solid .navbar {
  height: 72px;
  background: rgba(9, 18, 38, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(4, 10, 24, 0.38);
  border-bottom-color: rgba(198, 161, 91, 0.16);
}

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #d3af68, #a87f35);
  color: var(--navy-950);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  color: var(--gold-400);
}

/* nav */
.nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  position: relative;
  display: block;
  padding: 10px 13px;
  font-size: 16px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: #fff;
  transition: all 0.35s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

body.nav-open .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: linear-gradient(165deg, var(--navy-950), var(--navy-700));
  padding: 130px 36px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  overflow-y: auto;
}

body.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-nav a.nav-mobile-link .icon {
  color: var(--gold-500);
  font-size: 18px;
}

.mobile-nav-foot {
  margin-top: 36px;
  display: grid;
  gap: 14px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-nav-foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-foot .icon {
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 176px 0 96px;
  background: radial-gradient(1100px 620px at 82% 18%, rgba(42, 68, 119, 0.55), transparent 65%),
    linear-gradient(160deg, #070f1f 0%, #0d1b39 52%, #14264a 100%);
  color: #fff;
  overflow: hidden;
}

@supports (min-height: 100svh) {
  .hero {
    min-height: 100svh;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(900px 600px at 28% 60%, #000 30%, transparent 78%);
  mask-image: radial-gradient(900px 600px at 28% 60%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  top: 50%;
  right: -90px;
  width: min(58vw, 840px);
  transform: translateY(-52%);
  opacity: 0.62;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  letter-spacing: 0.34em;
  color: var(--gold-400);
  margin-bottom: 30px;
}

.hero-eyebrow::before {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.nowrap {
  white-space: nowrap;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.35;
  margin-bottom: 26px;
}

.hero-title em {
  font-style: normal;
  color: var(--gold-400);
}

.hero-sub {
  max-width: 580px;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  max-width: 720px;
  margin-top: 78px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-400);
  line-height: 1.1;
}

.hero-stats strong sup {
  font-size: 18px;
  color: rgba(217, 188, 130, 0.7);
  margin-left: 2px;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  font-size: 14.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.52);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12.5px;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.42);
  z-index: 2;
}

.hero-scroll i {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  overflow: hidden;
  position: relative;
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: scrollHint 2.2s var(--ease) infinite;
}

@keyframes scrollHint {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}

/* --------------------------------------------------------------------------
   7. Inner page hero
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 178px 0 84px;
  background: linear-gradient(150deg, var(--navy-950) 0%, #0e1d3d 55%, #16294f 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(760px 420px at 70% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(760px 420px at 70% 40%, #000 20%, transparent 80%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(198, 161, 91, 0.05), 0 0 0 140px rgba(198, 161, 91, 0.03);
  pointer-events: none;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.46);
  margin-bottom: 30px;
}

.breadcrumb a:hover {
  color: var(--gold-300);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.25);
}

.page-hero-eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.46em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.page-hero-desc {
  margin-top: 18px;
  max-width: 620px;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.svc-card {
  position: relative;
  display: block;
  background: #fff;
  padding: 46px 32px 40px;
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
}

.svc-card:hover {
  background: var(--navy-900);
}

.svc-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-en);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: rgba(16, 32, 67, 0.06);
  transition: color 0.45s var(--ease);
}

.svc-card:hover .svc-num {
  color: rgba(255, 255, 255, 0.07);
}

.svc-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-700);
  font-size: 28px;
  margin-bottom: 26px;
  transition: all 0.45s var(--ease);
}

.svc-card:hover .svc-icon {
  color: var(--gold-400);
  border-color: rgba(198, 161, 91, 0.55);
  background: rgba(198, 161, 91, 0.08);
  transform: translateY(-4px);
}

.svc-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  line-height: 1.6;
  transition: color 0.45s var(--ease);
}

.svc-card:hover h3 {
  color: #fff;
}

.svc-desc {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
  transition: color 0.45s var(--ease);
}

.svc-card:hover .svc-desc {
  color: rgba(255, 255, 255, 0.64);
}

.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14.5px;
  letter-spacing: 0.18em;
  color: var(--gold-600);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.45s var(--ease);
}

.svc-card:hover .svc-more {
  opacity: 1;
  transform: none;
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   9. About
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 84px;
  align-items: center;
}

.about-panel {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 58px 52px 64px;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(198, 161, 91, 0.32);
  pointer-events: none;
}

.about-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(198, 161, 91, 0.2);
  box-shadow: 0 0 0 40px rgba(198, 161, 91, 0.05), 0 0 0 90px rgba(198, 161, 91, 0.03);
}

.about-since {
  display: block;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.44em;
  color: var(--gold-400);
}

.about-since strong {
  display: block;
  margin-top: 6px;
  font-size: 76px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #fff;
}

.about-since strong::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.about-quote {
  position: relative;
  z-index: 1;
  margin-top: 46px;
  font-family: var(--font-serif);
  font-size: 27px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: var(--gold-300);
}

.about-quote-src {
  display: block;
  margin-top: 16px;
  font-size: 14.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

.about-badge {
  position: absolute;
  right: -26px;
  bottom: -26px;
  z-index: 3;
  background: linear-gradient(135deg, #d3af68, #a87f35);
  color: var(--navy-950);
  padding: 20px 26px;
  text-align: center;
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
}

.about-badge strong {
  display: block;
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.about-badge span {
  font-size: 14px;
  letter-spacing: 0.14em;
}

.about-body .section-title {
  margin-bottom: 26px;
}

.about-body p {
  font-size: 17px;
  line-height: 2.05;
  color: var(--ink-2);
  text-align: justify;
}

.about-body p + p {
  margin-top: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 32px 0 40px;
}

.about-features li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 16.5px;
  color: var(--ink);
}

.about-features li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--gold-500);
  transform: rotate(45deg) translateY(-1px);
}

/* --------------------------------------------------------------------------
   10. Lawyer cards
   -------------------------------------------------------------------------- */
.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.lawyer-grid--feature {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.lawyer-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.lawyer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-md);
}

.lawyer-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(165deg, #eef1f5, #dde2ea);
}

.lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.9s var(--ease);
}

.lawyer-card:hover .lawyer-photo img {
  transform: scale(1.045);
}

.lawyer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 15, 31, 0.62), rgba(7, 15, 31, 0) 46%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.lawyer-card:hover .lawyer-photo::after {
  opacity: 1;
}

.lawyer-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(198, 161, 91, 0.94);
  color: var(--navy-950);
  font-size: 13.5px;
  letter-spacing: 0.12em;
  padding: 4px 12px;
}

.lawyer-view {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14.5px;
  letter-spacing: 0.24em;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease);
}

.lawyer-card:hover .lawyer-view {
  opacity: 1;
  transform: none;
}

.lawyer-info {
  padding: 22px 22px 26px;
  border-top: 2px solid transparent;
  transition: border-color 0.5s var(--ease);
}

.lawyer-card:hover .lawyer-info {
  border-top-color: var(--gold-500);
}

.lawyer-info h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy-900);
}

.lawyer-info h3 span {
  margin-left: 7px;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-3);
}

.lawyer-role {
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold-600);
}

.lawyer-focus {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   11. Insights (articles/news)
   -------------------------------------------------------------------------- */
.tabs {
  display: inline-flex;
  gap: 10px;
}

.tab {
  padding: 11px 24px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 16px;
  letter-spacing: 0.12em;
  transition: all 0.35s var(--ease);
}

.tab:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.tab.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

.insight-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 46px 46px 42px;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  color: #fff;
  overflow: hidden;
}

.insight-feature::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(198, 161, 91, 0.04);
}

.insight-cat {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 14px;
  border: 1px solid rgba(198, 161, 91, 0.5);
  color: var(--gold-300);
  font-size: 13.5px;
  letter-spacing: 0.22em;
}

.insight-feature h3 {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.65;
  color: #fff;
}

.insight-feature h3 a:hover {
  color: var(--gold-300);
}

.insight-feature .excerpt {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.66);
}

.insight-feature .meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 34px;
}

.insight-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.insight-date .icon {
  color: var(--gold-400);
}

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

.insight-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.insight-item > a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 21px 6px;
  transition: padding 0.35s var(--ease);
}

.insight-item:hover {
  background: #fff;
}

.insight-item:hover > a {
  padding-left: 16px;
}

.insight-item time {
  font-family: var(--font-en);
  line-height: 1.2;
}

.insight-item time strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: var(--gold-600);
}

.insight-item time span {
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.insight-item h4 {
  font-size: 17.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.75;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s var(--ease);
}

.insight-item:hover h4 {
  color: var(--gold-600);
}

/* --------------------------------------------------------------------------
   12. Join band
   -------------------------------------------------------------------------- */
.join-band {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(140deg, var(--navy-950) 0%, #0f2043 55%, var(--navy-700) 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.join-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(640px 360px at 50% 50%, #000 20%, transparent 82%);
  mask-image: radial-gradient(640px 360px at 50% 50%, #000 20%, transparent 82%);
}

.join-band .container {
  position: relative;
  z-index: 2;
}

.join-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.join-band p {
  margin-top: 18px;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

.join-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
}

.footer-main {
  padding: 78px 0 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 44px;
  align-items: start;
}

.footer-nav-cols {
  columns: 2;
  column-gap: 36px;
}

.footer-nav-cols li {
  break-inside: avoid;
}

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

.footer-brand p {
  margin-top: 20px;
  max-width: 26em;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.52);
  text-align: left;
}

.footer-license {
  margin-top: 16px !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.4) !important;
  letter-spacing: 0.01em;
}

.footer-col h4 {
  position: relative;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #fff;
  padding-bottom: 16px;
  margin-bottom: 22px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 1px;
  background: var(--gold-500);
}

.footer-col ul li + li {
  margin-top: 9px;
}

.footer-col ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.56);
}

.footer-col ul a .icon {
  font-size: 12px;
  color: rgba(198, 161, 91, 0.5);
  transition: transform 0.3s var(--ease);
}

.footer-col ul a:hover {
  color: var(--gold-300);
}

.footer-col ul a:hover .icon {
  transform: translateX(3px);
}

.contact-list li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.56);
}

.contact-list li + li {
  margin-top: 13px;
}

.contact-list .icon {
  margin-top: 6px;
  color: var(--gold-400);
  font-size: 17px;
}

.contact-list a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.footer-bottom a:hover {
  color: var(--gold-300);
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.32);
}

/* --------------------------------------------------------------------------
   14. Floating actions & mobile bar
   -------------------------------------------------------------------------- */
.float-actions {
  position: fixed;
  right: 22px;
  bottom: 108px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-800);
  font-size: 21px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
}

.float-btn:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-400);
}

.float-tip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 9px 15px;
  background: var(--navy-900);
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.float-tip::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--navy-900);
  transform: translateY(-50%) rotate(45deg);
}

.float-btn:hover .float-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
}

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 96;
  background: rgba(7, 15, 31, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(198, 161, 91, 0.28);
}

.mobile-bar a,
.mobile-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.mobile-bar .icon {
  font-size: 21px;
  color: var(--gold-400);
}

.mobile-bar a:active,
.mobile-bar button:active {
  color: #fff;
}

/* --------------------------------------------------------------------------
   15. Team page
   -------------------------------------------------------------------------- */
.team-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 46px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter {
  padding: 11px 24px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 16px;
  letter-spacing: 0.1em;
  transition: all 0.35s var(--ease);
}

.filter span {
  margin-left: 7px;
  font-family: var(--font-en);
  font-size: 14.5px;
  color: var(--ink-3);
}

.filter:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.filter.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.filter.is-active span {
  color: var(--gold-400);
}

.team-count {
  font-size: 15.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.team-count strong {
  font-family: var(--font-en);
  font-size: 19px;
  color: var(--gold-600);
  margin: 0 3px;
}

.team-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   16. Profile (lawyer detail)
   -------------------------------------------------------------------------- */
.profile-grid {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.profile-side {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid var(--line);
}

.profile-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(165deg, #eef1f5, #dde2ea);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-meta {
  padding: 26px 28px 30px;
}

.profile-meta h1,
.profile-meta h2 {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy-900);
}

.profile-meta h1 span,
.profile-meta h2 span {
  margin-left: 8px;
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-3);
}

.profile-role {
  margin-top: 8px;
  font-size: 15.5px;
  letter-spacing: 0.1em;
  color: var(--gold-600);
}

.profile-facts {
  margin: 22px 0 26px;
  border-top: 1px solid var(--line);
}

.profile-facts li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.profile-facts span {
  color: var(--ink-3);
  letter-spacing: 0.08em;
}

.profile-facts strong {
  font-weight: 500;
  color: var(--ink);
}

.profile-main {
  padding-top: 4px;
}

.profile-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 22px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.profile-heading h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy-900);
}

.profile-heading em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.profile-bio p {
  font-size: 17px;
  line-height: 2.15;
  color: var(--ink-2);
  text-align: justify;
}

.profile-bio p + p {
  margin-top: 18px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.profile-tags span {
  padding: 7px 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.profile-quote {
  position: relative;
  margin: 42px 0 0;
  padding: 30px 34px 30px 40px;
  background: var(--ivory);
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: var(--navy-800);
}

.profile-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.profile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.profile-empty {
  padding: 40px 0;
  font-size: 17px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   17. Reader modal
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 31, 0.74);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.35s var(--ease);
}

.modal-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100vw - 40px));
  max-height: min(84vh, 920px);
  overflow-y: auto;
  background: #fff;
  padding: 60px 68px 64px;
  box-shadow: var(--shadow-lg);
  animation: modalUp 0.4s var(--ease);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 19px;
  transition: all 0.3s var(--ease);
}

.modal-close:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.modal-head {
  padding-bottom: 26px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.modal-cat {
  display: inline-block;
  padding: 4px 13px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  font-size: 13.5px;
  letter-spacing: 0.22em;
  color: var(--gold-600);
  margin-bottom: 18px;
}

.modal-head h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.65;
  color: var(--navy-900);
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.modal-meta .icon {
  color: var(--gold-500);
}

.reader-body {
  font-size: 17.5px;
  line-height: 2.05;
  color: #2a3142;
}

.reader-body * {
  max-width: 100% !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  background: transparent !important;
  text-indent: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.reader-body p,
.reader-body div,
.reader-body section {
  margin-bottom: 1em !important;
}

.reader-body p:has(> br:only-child),
.reader-body p:has(> span > br:only-child) {
  display: none !important;
}

.reader-body h1,
.reader-body h2,
.reader-body h3,
.reader-body h4 {
  font-family: var(--font-serif) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
  color: var(--navy-900) !important;
  margin: 1.7em 0 0.9em !important;
}

.reader-body strong,
.reader-body b {
  font-weight: 600 !important;
  color: var(--navy-800) !important;
}

.reader-body img {
  display: block;
  margin: 20px auto !important;
  height: auto !important;
}

.reader-body a {
  color: var(--gold-700) !important;
}

/* --------------------------------------------------------------------------
   19. Reveal animation
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalUp {
  from {
    opacity: 0;
    transform: translate(-50%, -46%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav a {
    padding: 10px 10px;
    font-size: 15.5px;
    letter-spacing: 0.06em;
  }

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

  .about-grid {
    gap: 56px;
  }

  .insights-grid {
    gap: 32px;
  }
}

@media (max-width: 1080px) {
  .nav,
  .navbar-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

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

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

  .topbar-note {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .topbar-meta {
    gap: 18px;
  }

  .topbar-meta .topbar-addr {
    display: none;
  }

  .hero {
    padding: 150px 0 90px;
  }

  .hero-art {
    right: -220px;
    opacity: 0.4;
  }

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

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

  .about-panel {
    max-width: 560px;
  }

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

  .lawyer-grid--feature {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

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

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

  .profile-side {
    position: static;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 20px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .hero-title {
    letter-spacing: 0.06em;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
    margin-top: 58px;
  }

  .hero-stats strong {
    font-size: 34px;
  }

  .hero-scroll {
    display: none;
  }

  .page-hero {
    padding: 148px 0 62px;
  }

  .svc-card {
    padding: 34px 24px 30px;
  }

  .svc-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .about-panel {
    padding: 44px 32px 48px;
  }

  .about-since strong {
    font-size: 60px;
  }

  .about-quote {
    font-size: 23px;
  }

  .about-badge {
    right: -8px;
    bottom: -18px;
    padding: 16px 20px;
  }

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

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

  .lawyer-info {
    padding: 16px 16px 20px;
  }

  .lawyer-info h3 {
    font-size: 19px;
  }

  .lawyer-focus {
    display: none;
  }

  .insight-feature {
    padding: 36px 28px 34px;
  }

  .insight-feature h3 {
    font-size: 22px;
  }

  .insight-item > a {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 2px;
  }

  .insight-item time strong {
    font-size: 22px;
  }

  .join-band {
    padding: 66px 0;
  }

  .footer-main {
    padding: 60px 0 44px;
  }

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

  .float-actions {
    display: none;
  }

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

  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .modal-panel {
    padding: 42px 24px 46px;
    width: calc(100vw - 24px);
    max-height: 88vh;
  }

  .modal-head h2 {
    font-size: 23px;
  }

  .team-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .profile-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .profile-heading h2 {
    font-size: 24px;
  }

  .profile-quote {
    padding: 24px 22px 24px 26px;
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .brand-text em {
    display: none;
  }

  .brand-text strong {
    font-size: 17.5px;
    letter-spacing: 0.06em;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

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

  .svc-desc {
    display: none;
  }

  .svc-more {
    opacity: 1;
    transform: none;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@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;
  }

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

/* --------------------------------------------------------------------------
   21. Page hero compact
   -------------------------------------------------------------------------- */
.page-hero--compact {
  padding: 164px 0 64px;
}

.page-hero--compact h1 {
  max-width: 900px;
}

/* --------------------------------------------------------------------------
   22. Departments
   -------------------------------------------------------------------------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.dept-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px 34px 44px;
  transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}

.dept-card:hover {
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.dept-card:last-child {
  grid-column: 1 / -1;
}

.dept-num {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--gold-600);
}

.dept-card h3 {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  transition: color 0.45s var(--ease);
}

.dept-card p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
  transition: color 0.45s var(--ease);
}

.dept-card::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.5s var(--ease);
}

.dept-card:hover::after {
  width: calc(100% - 68px);
}

/* --------------------------------------------------------------------------
   23. Value cards
   -------------------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.value-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 42px 32px 46px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-md);
}

.value-card::before {
  content: attr(data-word);
  position: absolute;
  right: 10px;
  bottom: -8px;
  font-family: var(--font-en);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(16, 32, 67, 0.04);
  pointer-events: none;
  white-space: nowrap;
}

.value-card em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.value-card h3 {
  margin: 12px 0 16px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy-900);
}

.value-card p {
  position: relative;
  z-index: 1;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   24. Services list page
   -------------------------------------------------------------------------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 30px;
  gap: 26px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 36px 38px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.service-row:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-md);
}

.service-row-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-700);
  font-size: 26px;
  transition: all 0.45s var(--ease);
}

.service-row:hover .service-row-icon {
  color: var(--gold-500);
  border-color: rgba(198, 161, 91, 0.55);
  background: rgba(198, 161, 91, 0.07);
}

.service-row-num {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold-600);
}

.service-row-body h3 {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--navy-900);
  transition: color 0.35s var(--ease);
}

.service-row-body p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

.service-row-arrow {
  align-self: center;
  color: var(--gold-500);
  font-size: 19px;
  transition: transform 0.4s var(--ease);
}

.service-row:hover .service-row-arrow {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   25. Service detail page
   -------------------------------------------------------------------------- */
.service-layout {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.service-side {
  position: sticky;
  top: 110px;
}

.side-nav {
  background: #fff;
  border: 1px solid var(--line);
}

.side-nav h3 {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--navy-900);
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--ink-2);
  transition: all 0.3s var(--ease);
}

.side-nav li:last-child a {
  border-bottom: 0;
}

.side-nav a .icon {
  font-size: 12px;
  color: var(--line);
  transition: color 0.3s var(--ease);
}

.side-nav a:hover {
  color: var(--gold-600);
  background: var(--ivory);
}

.side-nav a:hover .icon {
  color: var(--gold-500);
}

.side-nav a.is-active {
  color: var(--navy-900);
  font-weight: 500;
  background: var(--ivory);
  box-shadow: inset 3px 0 0 var(--gold-500);
}

.side-nav a.is-active .icon {
  color: var(--gold-500);
}

.side-contact {
  margin-top: 26px;
  padding: 32px 28px 34px;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.side-contact::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(198, 161, 91, 0.25);
  border-radius: 50%;
}

.side-contact h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.side-contact p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.68);
}

.side-contact .btn {
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.side-contact .btn + .btn {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   26. Prose card / content detail
   -------------------------------------------------------------------------- */
.content-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.prose-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 64px 72px 68px;
}

.article-cat {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--gold-600);
}

.article-title {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--navy-900);
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.article-meta .icon {
  color: var(--gold-500);
}

.article-meta-sep {
  color: var(--line);
}

.article-body {
  margin-top: 36px;
}

.article-foot {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

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

.prevnext a {
  display: block;
  padding: 20px 24px;
  border: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2);
  transition: all 0.35s var(--ease);
}

.prevnext a:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.prevnext .label {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}

.article-back {
  margin-top: 30px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   27. Article list + pagination
   -------------------------------------------------------------------------- */
.article-list {
  border-top: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 30px;
  gap: 30px;
  align-items: center;
  padding: 28px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.article-row:hover {
  background: #fff;
  padding-left: 18px;
}

.article-row time {
  font-family: var(--font-en);
  line-height: 1.2;
}

.article-row time strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-600);
}

.article-row time span {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.article-row-body h3 {
  font-size: 17.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.article-row:hover .article-row-body h3 {
  color: var(--gold-600);
}

.article-row-body p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-row-arrow {
  justify-self: end;
  color: var(--line);
  font-size: 18px;
  transition: all 0.35s var(--ease);
}

.article-row:hover .article-row-arrow {
  color: var(--gold-500);
  transform: translateX(4px);
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 46px;
}

.page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  transition: all 0.3s var(--ease);
}

.page-btn:hover:not([disabled]) {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.page-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

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

/* --------------------------------------------------------------------------
   28. Cases
   -------------------------------------------------------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  padding: 46px 42px 44px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-md);
}

.case-tag {
  align-self: flex-start;
  padding: 5px 14px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--gold-600);
}

.case-card h3 {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--navy-900);
  transition: color 0.35s var(--ease);
}

.case-card:hover h3 {
  color: var(--gold-700);
}

.case-card p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-2);
}

.case-card .text-link {
  margin-top: auto;
  padding-top: 28px;
}

/* --------------------------------------------------------------------------
   29. Jobs
   -------------------------------------------------------------------------- */
.job-list {
  display: grid;
  gap: 28px;
  max-width: 940px;
}

.job-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 44px 50px 48px;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.job-card:hover {
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-sm);
}

.job-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.job-card h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy-900);
}

.job-card header span {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.job-label {
  position: relative;
  margin: 26px 0 14px;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy-800);
}

.job-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  transform: translateY(-50%) rotate(45deg);
}

.job-points li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ink-2);
}

.job-points li + li {
  margin-top: 2px;
}

.job-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--gold-500);
}

.job-text {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   30. Contact page
   -------------------------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 70px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 26px 38px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 161, 91, 0.5);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-700);
  font-size: 24px;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy-900);
}

.info-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-2);
}

.info-card a:hover {
  color: var(--gold-600);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 56px;
  align-items: start;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 44px 48px 48px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.form-field > span {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
}

.form-note {
  margin: 20px 0 22px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-3);
}

.form-feedback {
  display: none;
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-error {
  color: #b23b3b;
}

.form-feedback.is-success {
  color: #1f7a4d;
}

.map-card {
  position: relative;
  padding: 38px 34px 40px;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  color: #fff;
  overflow: hidden;
}

.map-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(198, 161, 91, 0.04);
}

.map-card > .icon {
  font-size: 30px;
  color: var(--gold-400);
}

.map-card h3 {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.map-card p {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 14px;
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.7);
}

.map-card .btn {
  margin-top: 26px;
  position: relative;
  z-index: 1;
}

.contact-aside {
  margin-top: 26px;
  padding: 32px 32px 36px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-aside h3 {
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy-900);
}

.contact-list--dark li {
  color: var(--ink-2);
}

.contact-list--dark .icon {
  color: var(--gold-600);
}

.contact-list--dark a:hover {
  color: var(--gold-600);
}

/* --------------------------------------------------------------------------
   31. Search page
   -------------------------------------------------------------------------- */
.search-form {
  display: flex;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto 42px;
}

.search-form input {
  flex: 1;
  padding: 16px 22px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.search-form input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.12);
}

.search-summary {
  margin-bottom: 36px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-3);
}

.search-summary strong {
  margin: 0 4px;
  font-family: var(--font-en);
  font-size: 19px;
  color: var(--gold-600);
}

.search-results {
  max-width: 920px;
  margin: 0 auto;
}

.result-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.result-item:hover {
  background: #fff;
  padding-left: 18px;
}

.result-type {
  display: inline-grid;
  place-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(198, 161, 91, 0.55);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--gold-600);
}

.result-body h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.result-item:hover .result-body h3 {
  color: var(--gold-600);
}

.result-body h3 mark {
  background: rgba(198, 161, 91, 0.26);
  color: inherit;
  padding: 0 2px;
}

.result-body p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-body p mark {
  background: rgba(198, 161, 91, 0.26);
  color: var(--ink-2);
}

.empty-state {
  padding: 74px 0;
  text-align: center;
  color: var(--ink-3);
}

.empty-state > .icon {
  display: block;
  margin: 0 auto 18px;
  font-size: 38px;
  color: var(--line);
}

.empty-state p {
  font-size: 15px;
  letter-spacing: 0.06em;
}

.empty-hint {
  margin-top: 10px;
  font-size: 13.5px !important;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   32. Nav search + insights more
   -------------------------------------------------------------------------- */
.nav-search {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  transition: all 0.35s var(--ease);
}

.nav-search:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.insights-side {
  min-width: 0;
}

.insights-more {
  margin-top: 28px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   33. Responsive (new components)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-search {
    display: none;
  }
}

@media (max-width: 992px) {
  .dept-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .service-side {
    position: static;
  }

  .side-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-nav h3 {
    grid-column: 1 / -1;
  }

  .side-nav a {
    border-right: 1px solid var(--line-soft);
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 54px;
  }

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

  .contact-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }

  .contact-aside {
    margin-top: 0;
  }

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

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

@media (max-width: 768px) {
  .page-hero--compact {
    padding: 148px 0 54px;
  }

  .dept-card {
    padding: 30px 24px 34px;
  }

  .dept-card::after {
    left: 24px;
  }

  .dept-card:hover::after {
    width: calc(100% - 48px);
  }

  .value-card {
    padding: 30px 24px 34px;
  }

  .value-card::before {
    font-size: 56px;
    bottom: -18px;
  }

  .service-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    padding: 26px 24px 28px;
  }

  .service-row-icon {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .service-row-arrow {
    display: none;
  }

  .prose-card {
    padding: 34px 22px 40px;
  }

  .article-title {
    margin-top: 18px;
  }

  .article-body {
    margin-top: 26px;
  }

  .article-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 2px;
  }

  .article-row time strong {
    font-size: 21px;
  }

  .article-row-body p {
    display: none;
  }

  .article-row-arrow {
    display: none;
  }

  .case-card {
    padding: 32px 26px 34px;
  }

  .job-card {
    padding: 30px 24px 34px;
  }

  .job-card header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .job-points li,
  .job-text {
    font-size: 14px;
  }

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

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

  .search-form {
    flex-direction: column;
  }

  .search-form .btn {
    width: 100%;
  }

  .result-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 2px;
  }

  .insights-more {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .dept-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

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

/* --------------------------------------------------------------------------
   No-JS 降级列表（爬虫与禁用 JS 的用户可见内容链接）
   -------------------------------------------------------------------------- */
.nojs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.nojs-list a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy-900);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nojs-list a:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}
