:root {
  --ink: #202124;
  --muted: #5d6468;
  --paper: #fbfaf7;
  --soft: #f2f1ec;
  --line: #ddd8cf;
  --accent: #6f2b8f;
  --accent-strong: #4d155f;
  --teal: #0f766e;
  --gold: #a5792a;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(32, 33, 36, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.65;
}

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

a:hover {
  color: var(--accent-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(221, 216, 207, 0.86);
  background: rgba(251, 250, 247, 0.93);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 148px;
  min-height: 36px;
  padding: 7px 11px;
  background: #1f1f1f;
  border-radius: 4px;
}

.brand img {
  display: block;
  width: 148px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: calc(100svh - 120px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 6vw, 84px) clamp(38px, 5vw, 68px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.96), rgba(251, 250, 247, 0.8)),
    url("./assets/dentons-banner.jpeg") center top / cover no-repeat;
}

.hero-copy {
  max-width: 920px;
}

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

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

h1 {
  margin-bottom: 4px;
  font-family:
    "Noto Serif SC",
    "Songti SC",
    SimSun,
    serif;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-family:
    "Noto Serif SC",
    "Songti SC",
    SimSun,
    serif;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.roman {
  margin-bottom: clamp(22px, 3vw, 30px);
  color: var(--gold);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
}

.lead {
  max-width: 780px;
  margin-bottom: 28px;
  color: #34383b;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--accent-strong);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
}

.button.primary {
  color: var(--white);
  background: var(--accent-strong);
}

.button.secondary {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.72);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 940px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.contact-strip div {
  min-width: 0;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-strip dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.contact-strip dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
  line-height: 1.45;
}

.query-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 940px;
  margin-top: 16px;
}

.query-links a,
.breadcrumb a {
  color: var(--accent-strong);
  font-weight: 800;
}

.query-links a {
  padding: 8px 12px;
  border: 1px solid rgba(77, 21, 95, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.portrait {
  justify-self: center;
  width: min(340px, 100%);
  margin: 0;
  padding: 22px 22px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 211 / 289;
  object-fit: cover;
}

.band {
  background: var(--soft);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.section-heading {
  max-width: 360px;
}

.summary .section-inner {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 74px);
}

.prose {
  max-width: 820px;
  color: #34383b;
  font-size: 18px;
}

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

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.practice-grid article {
  min-width: 0;
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.practice-grid article:last-child {
  border-right: 0;
}

.practice-grid span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

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

.practice-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(77, 21, 95, 0.24);
  text-underline-offset: 5px;
}

.practice-link:hover {
  text-decoration-color: var(--accent-strong);
}

.two-column {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 74px);
}

.history {
  display: grid;
  gap: 34px;
}

.simple-list,
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.simple-list li,
.timeline li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.simple-list li {
  padding: 20px;
}

.simple-list strong,
.simple-list span {
  display: block;
}

.simple-list span {
  margin-top: 4px;
  color: var(--muted);
}

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

.timeline li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
}

.timeline time {
  color: var(--accent-strong);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.contact-layout p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-panel a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--accent-strong);
  font-size: 20px;
  font-weight: 800;
}

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

.faq-list article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-hero {
  min-height: auto;
  padding-top: clamp(38px, 6vw, 74px);
  padding-bottom: clamp(40px, 6vw, 74px);
}

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

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
}

.service-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-panel img {
  display: block;
  width: min(180px, 100%);
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
}

.service-panel h2 {
  margin-bottom: 0;
  font-family: inherit;
  font-size: 22px;
}

.service-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-panel a {
  overflow-wrap: anywhere;
  color: var(--accent-strong);
  font-weight: 800;
}

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

.scenario-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.scenario-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero,
  .summary .section-inner,
  .two-column,
  .contact-layout,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .portrait {
    justify-self: start;
    width: min(300px, 82vw);
  }

  .contact-strip {
    grid-template-columns: 1fr;
  }

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

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .practice-grid article:nth-child(2) {
    border-right: 0;
  }

  .practice-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .practice-grid,
  .simple-list,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .practice-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .practice-grid article:last-child {
    border-bottom: 0;
  }
}
