:root {
  color-scheme: light;
  --ink: #071b33;
  --ink-2: #123250;
  --muted: #5c6b78;
  --line: #d9e2e7;
  --soft: #f4f8f8;
  --soft-2: #edf4ef;
  --navy: #06233f;
  --navy-2: #0a3156;
  --emerald: #006c50;
  --emerald-2: #0d8b6b;
  --gold: #bf8b2e;
  --gold-2: #f3d18a;
  --danger: #a33b2f;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 27, 51, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--emerald);
}

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

:focus-visible {
  outline: 3px solid rgba(0, 108, 80, 0.35);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--navy);
  color: var(--white);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid rgba(217, 226, 231, 0.72);
}

.topbar a {
  color: var(--emerald);
  font-weight: 800;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 15px 24px;
}

.site-header.is-compact .nav-shell {
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-2);
  font-weight: 900;
}

.brand strong,
.footer-brand {
  display: block;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--emerald);
}

.nav-cta,
.button,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta,
.button.primary,
button[type="submit"] {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0, 108, 80, 0.18);
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: #9db1bd;
}

.button.emergency {
  background: var(--danger);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(163, 59, 47, 0.18);
}

.nav-cta:hover,
.button:hover,
button[type="submit"]:hover {
  transform: translateY(-1px);
  color: var(--white);
}

.button.secondary:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.menu-button {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  padding: 8px;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

.menu-button em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1fr);
  align-items: center;
  max-width: 1440px;
  min-height: 610px;
  margin: 0 auto;
  padding: 72px 24px 52px;
  overflow: hidden;
}

.hero-copy {
  max-width: 600px;
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
  padding-right: 32px;
}

.hero h1,
.page-hero h1,
.article-page h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 19px;
  overflow-wrap: anywhere;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

.trust-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--white);
  font-size: 12px;
}

.hero-media {
  position: relative;
  min-height: 460px;
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow);
}

body.home {
  background: #ffffff;
}

body.home .topbar {
  display: none;
}

body.home .site-header {
  border-bottom: 1px solid rgba(216, 226, 238, 0.72);
  box-shadow: 0 14px 34px rgba(10, 32, 70, 0.06);
}

.home-hero {
  position: relative;
  isolation: isolate;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 31, 88, 0.98) 0%, rgba(18, 61, 151, 0.94) 54%, rgba(21, 72, 163, 0.86) 100%),
    url("../images/hero-consultation.jpg") center / cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 11% 24%, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.13) 0 34px, transparent 34px 68px);
  opacity: 0.32;
  transform: skewY(-3deg) scale(1.08);
  transform-origin: center;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.home-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: center;
  max-width: var(--max);
  min-height: 560px;
  margin: 0 auto;
  padding: 72px 24px 66px;
}

.home-hero-copy {
  max-width: 760px;
  color: var(--white);
}

.hero-kicker,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--white);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  font-weight: 900;
}

.home-hero-copy > p:not(.hero-kicker) {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions .button.primary {
  background: linear-gradient(135deg, #f26a1b, #d59620);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 18px 36px rgba(242, 106, 27, 0.28);
}

.button.secondary.ghost {
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.button.secondary.ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-assurance li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.hero-intake-card {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(3, 16, 48, 0.34);
  padding: 28px;
  color: var(--ink);
}

.intake-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.intake-card-top strong {
  display: inline-grid;
  place-items: center;
  min-width: 64px;
  min-height: 42px;
  border-radius: 999px;
  background: #fff3d6;
  color: #94600c;
  font-size: 18px;
}

.hero-intake-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.22;
}

.hero-intake-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.intake-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.intake-checks span {
  border: 1px solid #d9e4ee;
  border-radius: 6px;
  background: #f7fafc;
  color: var(--ink-2);
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 800;
}

.intake-card-button {
  width: 100%;
  background: var(--navy);
  color: var(--white);
}

.home-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px 54px;
  background: var(--white);
}

.home-stat-strip div {
  display: grid;
  justify-items: center;
  gap: 8px;
  border-right: 1px solid var(--line);
  padding: 10px 22px;
  text-align: center;
}

.home-stat-strip div:last-child {
  border-right: 0;
}

.home-stat-strip strong {
  color: #153d97;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.home-stat-strip span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.section-heading.centered {
  display: block;
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.centered h2 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 38px;
  font-weight: 900;
}

.section-heading.centered p:not(.section-kicker) {
  margin: 12px auto 0;
}

.section-heading.centered a {
  display: inline-flex;
  margin-top: 18px;
}

.section-kicker {
  color: #1f6f91;
}

.home-services {
  padding-top: 54px;
}

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

.practice-card {
  position: relative;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(7, 27, 51, 0.06);
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--emerald);
}

.practice-card.tone-1::before {
  background: #d58a19;
}

.practice-card.tone-2::before {
  background: #2364c7;
}

.practice-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #eef9f2;
  color: var(--emerald);
  font-size: 14px;
  font-weight: 900;
}

.practice-card.tone-1 .practice-icon {
  background: #fff5dd;
  color: #9a650f;
}

.practice-card.tone-2 .practice-icon {
  background: #edf5ff;
  color: #235fb4;
}

.practice-card h3 {
  margin: 20px 0 6px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}

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

.practice-card .en-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.home-process {
  margin: 18px 0 0;
  padding: 72px 24px;
  background: #f5f8fb;
}

.home-process > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.home-process-grid article {
  min-height: 214px;
  border: 1px solid #dbe5ee;
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.home-process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #123d84;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.home-process-grid h3 {
  margin: 20px 0 9px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.home-process-grid p {
  margin: 0;
  color: var(--muted);
}

.home-emergency {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 34px auto 0;
  padding: 38px 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7a2519, #a85f12 52%, #d69223);
  color: var(--white);
  box-shadow: 0 20px 50px rgba(122, 37, 25, 0.18);
}

.home-emergency .section-kicker,
.home-emergency h2,
.home-emergency p {
  color: var(--white);
}

.home-emergency h2 {
  max-width: 760px;
  margin: 0;
  font-size: 31px;
  line-height: 1.22;
}

.home-emergency p:not(.section-kicker) {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.emergency-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.emergency-actions strong {
  color: var(--white);
  font-size: 25px;
  line-height: 1;
}

.home-resource-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1fr);
  align-items: center;
  gap: 46px;
}

.home-resource-intro h2,
.home-architecture h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 900;
}

.home-resource-intro p:not(.section-kicker),
.home-architecture p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
}

.home-resource-intro .button {
  margin-top: 26px;
}

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

.home-resource-list .resource-card {
  min-height: 0;
  box-shadow: 0 12px 30px rgba(7, 27, 51, 0.05);
}

.home-architecture {
  padding-top: 26px;
}

.home-contact {
  margin-top: 36px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 44px;
}

.metric-strip div {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 28px;
}

.metric-strip div + div {
  border-left: 1px solid var(--line);
}

.metric-strip strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section,
.page-hero,
.article-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2,
.split-section h2,
.contact-panel h2,
.side-panel h2,
.article-page h2,
.contact-card h2,
.status-result h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 34px;
  line-height: 1.16;
}

.section-heading p {
  grid-column: 1;
  max-width: 690px;
  margin: 8px 0 0;
  color: var(--muted);
}

.section-heading a,
.text-link {
  color: var(--emerald);
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--emerald);
}

.breadcrumb i {
  color: #a9b6bf;
  font-style: normal;
}

.section-heading.invert h2,
.section-heading.invert p {
  color: var(--white);
}

.service-grid,
.resource-grid,
.team-grid,
.alert-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid.compact {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.resource-card,
.team-card,
.alert-grid article,
.detail-grid article,
.contact-card,
.side-panel,
.status-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
}

.service-card {
  min-height: 292px;
}

.service-card[hidden] {
  display: none;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.urgency {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
}

.urgency.standard {
  background: #eef5f1;
  color: var(--emerald);
}

.urgency.priority {
  background: #fff6df;
  color: #83580e;
}

.urgency.emergency {
  background: #fff0ed;
  color: var(--danger);
}

.service-card h3,
.resource-card h3,
.team-card h2,
.alert-grid h2,
.detail-grid h2 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.25;
}

.service-card p,
.resource-card p,
.team-card p,
.alert-grid p,
.detail-grid p,
.contact-card p,
.side-panel p,
.status-result p {
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}

.service-card .en-label {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
}

.service-card ul,
.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 14px;
}

.service-card li + li,
.check-list li + li {
  margin-top: 8px;
}

.service-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.check-list.warning li::before {
  background: var(--danger);
}

.card-link,
.aside-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--emerald);
  font-weight: 900;
}

.aside-link {
  display: block;
  border-top: 1px solid var(--line);
  padding: 12px 0 0;
}

.aside-link + .aside-link {
  margin-top: 12px;
}

.trust-grid,
.faq-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-grid article,
.faq-mini-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: 0 14px 34px rgba(7, 27, 51, 0.05);
}

.trust-grid h3,
.faq-mini-grid h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
}

.trust-grid p,
.faq-mini-grid p {
  margin: 0;
  color: var(--muted);
}

.faq-mini-grid.single {
  grid-template-columns: 1fr;
}

.service-topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.service-topic-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.service-main {
  min-width: 0;
}

.service-main h2 {
  margin: 34px 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 30px;
  line-height: 1.18;
}

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

.service-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.band {
  margin: 36px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-2) 65%, #0b4c4a);
  color: var(--white);
}

.band > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.process-band {
  padding: 68px 24px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: var(--max);
}

.process-grid article {
  min-height: 190px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  padding-top: 24px;
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold-2);
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
}

.process-grid h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  align-items: center;
  gap: 42px;
}

.architecture-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbfa;
  max-height: 620px;
  overflow: auto;
}

.architecture-frame img {
  width: 100%;
  min-width: 430px;
}

.emergency-strip,
.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 44px auto;
  padding: 34px 40px;
  border-radius: var(--radius);
  background: var(--emerald);
  color: var(--white);
}

.emergency-strip h2,
.contact-panel h2 {
  color: var(--white);
}

.emergency-strip p,
.contact-panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.contact-panel {
  background: var(--navy);
}

.inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  width: 100%;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdbe1;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 0;
}

legend {
  color: var(--navy);
  font-weight: 900;
  padding: 0 6px;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

input[type="radio"],
input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--emerald);
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  font-size: 14px;
  font-weight: 800;
}

.page-hero {
  padding-top: 92px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.page-hero.narrow {
  max-width: 980px;
}

.page-hero .overline,
.article-page .overline {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.emergency-hero {
  background: linear-gradient(135deg, #fff7f3, #ffffff);
}

.service-detail-hero {
  background: linear-gradient(135deg, #f4f8f8, #ffffff);
}

.resource-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px 58px;
}

.resource-landing-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 56px;
  line-height: 1.08;
}

.resource-landing-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: 19px;
}

.resource-hero-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.resource-hero-panel div {
  padding: 22px;
}

.resource-hero-panel div:nth-child(2n) {
  border-left: 1px solid var(--line);
}

.resource-hero-panel div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.resource-hero-panel strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
}

.resource-hero-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

.topic-grid a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.topic-grid strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.topic-grid span {
  color: var(--emerald);
  font-size: 14px;
  font-weight: 900;
}

.resource-toolbar {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.resource-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.resource-filter-row,
.tag-cloud,
.tag-row,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resource-filter-row {
  margin: 14px 0;
}

.resource-filter-row button,
.tag-cloud span,
.tag-cloud button,
.tag-row b,
.article-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-2);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 800;
}

.resource-filter-row button {
  cursor: pointer;
}

.tag-cloud button {
  cursor: pointer;
}

.resource-filter-row button.is-active,
.tag-cloud button.is-active,
.topic-grid a.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.topic-grid a.is-active strong,
.topic-grid a.is-active span {
  color: var(--white);
}

.tag-cloud {
  margin-bottom: 24px;
}

.tag-cloud span,
.tag-cloud button,
.tag-row b,
.article-tags span {
  background: var(--soft-2);
  color: var(--emerald);
  border-color: transparent;
}

.tag-row {
  margin-top: 18px;
}

.resource-card[hidden] {
  display: none;
}

.library-grid .resource-card {
  min-height: 250px;
}

.pagination-shell {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pagination-shell p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

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

.resource-pagination[hidden] {
  display: none;
}

.resource-pagination button {
  min-width: 42px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink-2);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.resource-pagination button.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.resource-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.toolbar {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.intake-layout,
.contact-layout,
.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.intake-form,
.contact-form,
.status-form {
  display: grid;
  gap: 18px;
}

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

.contact-layout .contact-form,
.intake-form,
.status-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--soft);
}

.team-card .avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-2);
  font-size: 24px;
  font-weight: 900;
}

.team-card span,
.resource-card span {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.faq-list {
  max-width: 900px;
}

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

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  border: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-item i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-item i::before,
.faq-item i::after {
  content: "";
  position: absolute;
  background: var(--emerald);
}

.faq-item i::before {
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
}

.faq-item i::after {
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
}

.faq-item button[aria-expanded="true"] i::after {
  display: none;
}

.faq-item div {
  padding: 0 0 18px;
  color: var(--muted);
}

.article-page {
  max-width: 1040px;
}

.article-page p {
  color: var(--ink-2);
  font-size: 18px;
}

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

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-top: 30px;
}

.article-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.article-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 14px 16px;
}

.article-toc strong {
  color: var(--navy);
}

.article-toc a {
  color: var(--emerald);
  font-size: 14px;
  font-weight: 900;
}

.article-body h2 {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-body h3 {
  margin: 26px 0 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.28;
}

.article-body ul {
  padding-left: 22px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-body blockquote {
  margin: 28px 0;
  border-left: 4px solid var(--gold);
  background: var(--soft);
  padding: 16px 18px;
  color: var(--muted);
}

.article-summary {
  color: var(--muted);
  font-size: 20px;
}

.article-cta {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

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

.article-recommendations h2,
.legal-disclaimer h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 30px;
}

.legal-disclaimer {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  padding: 22px;
}

.legal-disclaimer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.timeline {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  border-left: 3px solid var(--emerald);
  padding: 0 0 18px 16px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  color: var(--muted);
}

.fine-print {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 24px 34px;
}

.footer-brand,
.site-footer h2 {
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin: 7px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-copy {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 0;
  }

  .hero-media {
    min-height: 0;
    margin-top: 38px;
  }

  .hero-media img {
    border-radius: var(--radius);
    height: 460px;
  }

  .home-hero-inner,
  .home-resource-section {
    grid-template-columns: 1fr;
  }

  .home-hero-inner {
    gap: 32px;
    padding-top: 58px;
  }

  .hero-intake-card {
    max-width: 520px;
  }

  .practice-grid,
  .home-process-grid,
  .trust-grid,
  .faq-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-emergency {
    grid-template-columns: 1fr;
  }

  .emergency-actions {
    justify-items: start;
  }

  .service-grid.compact,
  .service-grid,
  .resource-grid,
  .team-grid,
  .alert-grid,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split-section,
  .contact-panel,
  .emergency-strip,
  .resource-landing-hero,
  .service-detail-layout,
  .article-layout,
  .intake-layout,
  .contact-layout,
  .status-layout {
    grid-template-columns: 1fr;
  }

  .service-aside,
  .article-aside {
    position: static;
  }

  .inline-form {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 760px) {
  body {
    font-size: 15px;
    padding-bottom: 74px;
  }

  .topbar {
    display: none;
  }

  .nav-shell {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 17px;
  }

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

  .menu-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero,
  .section,
  .page-hero,
  .resource-landing-hero,
  .article-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .home-hero-inner {
    min-height: auto;
    padding: 48px 16px 42px;
  }

  .home-hero-inner > *,
  .hero-intake-card,
  .home-resource-list,
  .home-resource-section,
  .home-architecture,
  .practice-card,
  .home-process-grid article {
    min-width: 0;
    width: 100%;
  }

  .home-hero h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  .home-hero-copy > p:not(.hero-kicker) {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-intake-card {
    padding: 22px;
  }

  .hero-intake-card h2 {
    font-size: 24px;
  }

  .intake-checks {
    grid-template-columns: 1fr;
  }

  .home-stat-strip {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    width: 100%;
    padding: 26px 16px 42px;
  }

  .home-stat-strip div {
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 18px 12px;
  }

  .home-stat-strip div:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .home-stat-strip strong {
    font-size: 28px;
  }

  .section-heading.centered h2,
  .home-resource-intro h2,
  .home-architecture h2 {
    font-size: 30px;
  }

  .practice-grid,
  .home-process-grid,
  .home-resource-section {
    grid-template-columns: 1fr;
  }

  .practice-card,
  .home-process-grid article {
    min-height: auto;
  }

  .home-process {
    padding: 52px 16px;
  }

  .home-emergency {
    margin-left: 16px;
    margin-right: 16px;
    padding: 28px 20px;
  }

  .home-emergency h2 {
    font-size: 26px;
  }

  .emergency-actions strong {
    font-size: 22px;
  }

  .architecture-frame img {
    min-width: 0;
  }

  .hero h1,
  .resource-landing-hero h1,
  .page-hero h1,
  .article-page h1 {
    font-size: 31px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .hero p,
  .resource-landing-hero p,
  .page-hero p {
    font-size: 17px;
  }

  .hero-media img {
    height: 320px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 16px;
    padding-right: 16px;
  }

  .metric-strip div {
    padding: 18px 16px;
  }

  .metric-strip div + div {
    border-left: 0;
  }

  .metric-strip div:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .split-section h2,
  .contact-panel h2,
  .side-panel h2,
  .article-page h2,
  .contact-card h2,
  .status-result h2 {
    font-size: 28px;
  }

  .service-grid.compact,
  .service-grid,
  .resource-grid,
  .team-grid,
  .alert-grid,
  .detail-grid,
  .process-grid,
  .service-detail-layout,
  .trust-grid,
  .faq-mini-grid,
  .article-layout,
  .form-row,
  .inline-form,
  .toolbar,
  .topic-grid,
  .resource-toolbar,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-band {
    padding: 52px 16px;
  }

  .emergency-strip,
  .contact-panel {
    margin-left: 16px;
    margin-right: 16px;
    padding: 26px 20px;
  }

  fieldset {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .article-page p {
    font-size: 16px;
  }

  .article-tags {
    max-height: 42px;
    overflow: hidden;
  }

  .article-aside,
  .service-aside {
    position: static;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(7, 27, 51, 0.14);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky-cta a {
    display: grid;
    place-items: center;
    min-height: 62px;
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 900;
  }

  .mobile-sticky-cta a:nth-child(2) {
    background: var(--emerald);
    color: var(--white);
  }

  .mobile-sticky-cta a.urgent {
    background: var(--danger);
    color: var(--white);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
