:root {
  --paper: #f4f0e9;
  --paper-deep: #e9e1d7;
  --white: #fffefb;
  --ink: #25211e;
  --muted: #6f6963;
  --line: #d6cec4;
  --brown: #4a382d;
  --brown-dark: #30251f;
  --red: #8f3029;
  --red-dark: #71231f;
  --green: #49644e;
  --shadow: 0 22px 70px rgba(45, 34, 28, 0.14);
  --shell: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

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

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

.section {
  padding: 104px 0;
}

.page-view {
  min-height: calc(100svh - 76px);
}

.page-view[hidden] {
  display: none !important;
}

.page-view[data-page="faq"] {
  display: flex;
  flex-direction: column;
}

.page-view[data-page="faq"] .faq-section {
  order: 1;
}

.page-view[data-page="faq"] .knowledge-section {
  order: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow.light {
  color: #e4b9a5;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

p,
li,
dd,
summary {
  text-wrap: pretty;
}

h2 {
  margin-bottom: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 42px;
  font-weight: 700;
}

h3 {
  font-size: 22px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  border-bottom: 1px solid rgba(64, 50, 42, 0.14);
  background: rgba(255, 254, 251, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(1320px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 248px;
}

.brand-seal {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 2px;
  color: var(--white);
  background: var(--red);
  font-family: "Songti SC", "STSong", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

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

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 0 auto;
  color: #514a45;
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  padding: 25px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.desktop-nav a[aria-current="page"] {
  color: var(--red);
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  color: var(--white);
  background: var(--red);
  font-size: 15px;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--red-dark);
}

.header-cta[aria-current="page"] {
  background: var(--red-dark);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.header-cta svg,
.button svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.mobile-nav {
  position: absolute;
  top: 76px;
  right: 0;
  left: 0;
  padding: 12px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #ebe5de;
  font-weight: 600;
}

.mobile-nav a[aria-current="page"] {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 76px));
  overflow: hidden;
  color: var(--white);
  background: var(--brown-dark);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 54%;
  transform: scale(1.01);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(30, 22, 18, 0.88) 0%, rgba(34, 26, 22, 0.66) 38%, rgba(34, 26, 22, 0.12) 72%, rgba(34, 26, 22, 0.08) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: min(710px, calc(100svh - 186px));
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 158px;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.14;
}

.hero-lead {
  max-inline-size: 34em;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
}

.hero-lead span {
  display: block;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary-light {
  border-color: rgba(255, 255, 255, 0.54);
  color: var(--white);
  background: rgba(0, 0, 0, 0.08);
}

.button.secondary-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(49, 38, 31, 0.92);
  backdrop-filter: blur(12px);
}

.hero-facts div {
  min-height: 106px;
  padding: 24px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-size: 17px;
  font-weight: 700;
}

.hero-facts span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.promise-band {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.promise-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: #544d48;
  font-size: 14px;
}

.promise-inner p {
  display: grid;
  margin: 0;
  gap: 1px;
}

.promise-inner p strong {
  color: var(--red);
  font-size: 17px;
  font-weight: 700;
}

.promise-inner p small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.promise-inner span {
  position: relative;
  font-weight: 600;
}

.promise-inner span b {
  margin-right: 5px;
  color: var(--red);
  font-weight: 700;
}

.promise-inner span::before {
  position: absolute;
  top: 50%;
  left: -18px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a89f96;
  content: "";
}

.intro-section {
  background: var(--paper);
}

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

.intro-heading {
  padding-right: 20px;
}

.intro-heading .eyebrow {
  margin-bottom: 20px;
  font-size: 14px;
}

.intro-grid h2 {
  max-width: 560px;
  font-size: 46px;
  line-height: 1.22;
}

.intro-copy {
  padding-top: 3px;
  border-top: 1px solid var(--line);
}

.intro-point {
  display: grid;
  padding: 27px 0 28px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.intro-point > span {
  padding-top: 4px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 13px;
}

.intro-point h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
}

.intro-point p {
  max-width: 650px;
  margin: 0;
  color: #655d56;
  font-size: 16px;
  line-height: 1.85;
}

.stacked-copy strong,
.stacked-copy span {
  display: block;
}

.stacked-copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.stacked-copy span {
  max-inline-size: 36em;
  margin-top: 7px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.case-page-header {
  padding-top: 72px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.case-page-header-inner {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.82fr);
  gap: 72px;
}

.case-page-header-inner > div {
  padding-bottom: 48px;
}

.case-page-header h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 46px;
  line-height: 1.22;
}

.case-view-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-bottom: 0;
}

.case-view-tab {
  display: flex;
  min-height: 92px;
  padding: 18px 22px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  border-right: 1px solid var(--line);
  color: var(--brown);
  background: var(--paper);
}

.case-view-tab:last-child {
  border-right: 0;
}

.case-view-tab strong {
  font-size: 17px;
}

.case-view-tab span {
  color: var(--muted);
  font-size: 12px;
}

.case-view-tab:hover {
  background: var(--paper-deep);
}

.case-view-tab[aria-current="page"] {
  color: var(--white);
  background: var(--brown);
}

.case-view-tab[aria-current="page"] span {
  color: rgba(255, 255, 255, 0.7);
}

.case-subview[hidden] {
  display: none !important;
}

.cases-section {
  padding-top: 56px;
  background: var(--white);
}

.section-heading {
  display: grid;
  margin-bottom: 46px;
  align-items: end;
  grid-template-columns: 1fr minmax(260px, 390px);
  gap: 72px;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

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

.filter-bar {
  display: flex;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: #5f5852;
  background: transparent;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--brown);
  color: var(--white);
  background: var(--brown);
}

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

.case-card {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

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

.case-open {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd5ca;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.case-open:hover .case-media img {
  transform: scale(1.025);
}

.case-open:hover h3 {
  color: var(--red);
}

.case-status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(49, 38, 31, 0.88);
  font-size: 12px;
  font-weight: 700;
}

.case-copy {
  padding: 22px 2px 28px;
}

.case-type {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.case-copy h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.42;
}

.case-copy > p:not(.case-type) {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.case-meta {
  display: grid;
  margin: 20px 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-meta div {
  padding: 13px 10px 13px 0;
}

.case-meta dt {
  color: var(--muted);
  font-size: 11px;
}

.case-meta dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.archive-section {
  padding-top: 76px;
  background: #efede8;
}

.archive-heading {
  display: grid;
  margin-bottom: 48px;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) 0.82fr;
  gap: 80px;
}

.archive-heading h2 {
  max-width: 710px;
  font-size: 42px;
}

.archive-heading > div > p:last-child {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.archive-overview {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #bdb5ab;
}

.archive-overview div {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid #bdb5ab;
}

.archive-overview div:nth-child(odd) {
  border-right: 1px solid #bdb5ab;
}

.archive-overview div:nth-child(even) {
  padding-left: 18px;
}

.archive-overview dt {
  color: var(--red);
  font-family: Georgia, "Songti SC", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
}

.archive-overview dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.archive-tools {
  display: grid;
  padding: 24px;
  grid-template-columns: minmax(300px, 1fr) 230px 180px;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.archive-search,
.archive-select {
  display: grid;
  min-width: 0;
  gap: 7px;
  color: #5d5650;
  font-size: 12px;
  font-weight: 700;
}

.archive-tools input,
.archive-tools select {
  width: 100%;
  height: 50px;
  border: 1px solid #c9c0b5;
  border-radius: 2px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  font-weight: 400;
}

.archive-tools input {
  padding: 0 14px 0 44px;
}

.archive-tools select {
  padding: 0 12px;
}

.archive-tools input:focus,
.archive-tools select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(143, 48, 41, 0.1);
}

.input-with-icon {
  position: relative;
  display: block;
}

.input-with-icon svg {
  position: absolute;
  top: 15px;
  left: 14px;
  z-index: 1;
  width: 19px;
  height: 19px;
  color: var(--muted);
  pointer-events: none;
}

.archive-filter-row {
  display: grid;
  margin: 22px 0 34px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.archive-filter {
  display: flex;
  min-height: 58px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-right: 1px solid var(--line);
  color: #5e5650;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.archive-filter:last-child {
  border-right: 0;
}

.archive-filter span {
  color: #999087;
  font-size: 11px;
  font-weight: 600;
}

.archive-filter:hover,
.archive-filter.active {
  color: var(--white);
  background: var(--brown);
}

.archive-filter:hover span,
.archive-filter.active span {
  color: rgba(255, 255, 255, 0.64);
}

.archive-result-bar {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #bdb5ab;
  color: var(--muted);
  font-size: 13px;
}

.archive-result-bar p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.archive-timeline {
  border-bottom: 1px solid #bdb5ab;
}

.timeline-year {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  border-top: 1px solid #bdb5ab;
}

.timeline-year:first-child {
  border-top: 0;
}

.timeline-year-heading {
  padding: 28px 24px 28px 0;
}

.timeline-year-heading strong,
.timeline-year-heading span {
  display: block;
}

.timeline-year-heading strong {
  color: var(--brown);
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.timeline-year-heading span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.timeline-list {
  position: relative;
  border-left: 1px solid #bdb5ab;
}

.timeline-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 1px;
  background: #c9c0b6;
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 132px;
  padding: 22px 20px 22px 0;
  align-items: center;
  grid-template-columns: 45px 94px minmax(0, 1fr) 28px;
  border: 0;
  border-bottom: 1px solid #d2cbc2;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

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

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.58);
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-left: 17px;
  border: 3px solid #efede8;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.timeline-date {
  display: grid;
  color: var(--brown);
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
}

.timeline-date small {
  margin-top: 5px;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
}

.timeline-copy {
  min-width: 0;
  padding-right: 30px;
}

.timeline-labels {
  display: flex;
  margin-bottom: 7px;
  flex-wrap: wrap;
  gap: 7px 12px;
  color: var(--muted);
  font-size: 12px;
}

.timeline-labels .timeline-stage {
  color: var(--red);
  font-weight: 700;
}

.timeline-copy h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  text-wrap: pretty;
}

.timeline-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.timeline-item > svg {
  width: 18px;
  height: 18px;
  color: #8a8179;
}

.timeline-item:hover > svg {
  color: var(--red);
  transform: translateX(2px);
}

.archive-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.archive-empty[hidden] {
  display: none;
}

.archive-empty svg {
  width: 28px;
  height: 28px;
}

.archive-empty strong {
  color: var(--ink);
}

.archive-more {
  display: flex;
  width: 100%;
  min-height: 64px;
  margin-top: 22px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--brown);
  border-radius: 2px;
  color: var(--brown);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.archive-more:hover {
  color: var(--white);
  background: var(--brown);
}

.archive-more[hidden],
.dialog-source[hidden],
.dialog-thumbs[hidden] {
  display: none !important;
}

.archive-more small {
  color: var(--muted);
  font-weight: 500;
}

.archive-more:hover small {
  color: rgba(255, 255, 255, 0.65);
}

.archive-more svg {
  width: 18px;
  height: 18px;
}

.materials-section {
  color: var(--white);
  background: var(--brown-dark);
}

.materials-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 90px;
}

.materials-intro {
  position: sticky;
  top: 116px;
}

.materials-intro > p:not(.eyebrow) {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.85;
}

.materials-intro h2 {
  font-size: 42px;
}

.materials-intro .stacked-copy strong {
  color: var(--white);
}

.materials-intro .stacked-copy span {
  color: rgba(255, 255, 255, 0.7);
}

.materials-note {
  display: flex;
  padding-top: 24px;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.materials-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #d1a18b;
}

.materials-table-wrap {
  border-top: 3px solid #b56f57;
  background: #f8f5ef;
  color: var(--ink);
}

.materials-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.materials-table th,
.materials-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #ded7ce;
}

.materials-table th {
  color: var(--muted);
  background: #ece6de;
  font-size: 12px;
  font-weight: 700;
}

.materials-table td:first-child {
  color: var(--red);
  font-weight: 700;
}

.materials-toggle {
  display: flex;
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.materials-toggle svg {
  transition: transform 180ms ease;
}

.materials-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.materials-details {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 14px;
}

.materials-details p {
  margin: 0 0 12px;
}

.material-samples {
  margin-top: 62px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.material-samples-heading {
  display: flex;
  margin-bottom: 20px;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.material-samples-heading strong {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 21px;
}

.material-samples-heading span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.material-samples-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px 12px;
}

.material-samples figure {
  min-width: 0;
  margin: 0;
}

.material-samples img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f5f1eb;
}

.material-samples figcaption {
  padding-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  text-align: center;
}

.services-section {
  background: var(--paper);
}

.service-list {
  display: grid;
  margin-top: 50px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list article {
  min-height: 285px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.service-list article:last-child {
  border-right: 0;
}

.service-list span {
  display: block;
  margin-bottom: 48px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 14px;
}

.service-list h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.process-section {
  padding-bottom: 0;
  background: var(--white);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.process-heading {
  position: sticky;
  top: 116px;
  align-self: start;
}

.process-heading > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.process-heading h2,
.local-grid h2 {
  font-size: 42px;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-steps li {
  display: grid;
  padding: 26px 0;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.process-steps > li > span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 14px;
}

.process-steps h3 {
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 700;
}

.process-steps .free-word {
  margin-right: 4px;
  color: var(--red);
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.process-images {
  display: grid;
  margin-top: 90px;
  grid-template-columns: 1.1fr 0.9fr;
}

.payment-band {
  display: grid;
  margin-top: 64px;
  padding: 26px 30px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  color: var(--white);
  background: var(--brown);
}

.payment-band > strong {
  font-size: 15px;
  white-space: nowrap;
}

.payment-band ol {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.payment-band li {
  position: relative;
  display: flex;
  min-height: 38px;
  padding: 0 20px;
  align-items: center;
  gap: 9px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
}

.payment-band li span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  flex: 0 0 23px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 11px;
}

.payment-band > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  white-space: nowrap;
}

.process-images figure {
  position: relative;
  aspect-ratio: 16 / 8;
  margin: 0;
  overflow: hidden;
}

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

.process-images figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  padding: 34px 30px 18px;
  align-items: end;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(transparent, rgba(31, 24, 20, 0.78));
}

.process-images figcaption span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.local-section {
  color: var(--white);
  background: #3c4b40;
}

.local-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
}

.local-grid > div:first-child > p:not(.eyebrow) {
  max-width: 480px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.8;
}

.local-grid .stacked-copy strong {
  color: var(--white);
}

.local-grid .stacked-copy span {
  color: rgba(255, 255, 255, 0.68);
}

.community-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.community-list span {
  display: flex;
  min-height: 74px;
  padding: 0 18px 0 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
}

.community-list span:nth-child(odd) {
  padding-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.community-list span:nth-child(even) {
  padding-left: 26px;
}

.community-list small {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 400;
  white-space: nowrap;
}

.about-section {
  background: var(--paper);
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 90px;
}

.about-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #dbd1c5;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-image-wrap span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(48, 37, 31, 0.84);
  font-size: 12px;
}

.about-copy h2 {
  max-width: 660px;
  font-size: 44px;
}

.about-lead {
  display: grid;
  margin: 30px 0 20px;
  gap: 3px;
  color: var(--brown);
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
  line-height: 1.75;
}

.about-lead strong {
  color: var(--ink);
  font-weight: 700;
}

.about-copy > p:not(.eyebrow):not(.about-lead) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.about-facts {
  display: grid;
  margin: 34px 0 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.about-facts div {
  padding: 22px 12px 0 0;
}

.about-facts dt {
  color: var(--red);
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  font-weight: 700;
}

.about-facts dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.knowledge-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.knowledge-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

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

.knowledge-list article + article {
  padding-left: 28px;
}

.knowledge-list article:last-child {
  border-right: 0;
}

.knowledge-list span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.knowledge-list h3 {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.knowledge-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 90px;
}

.faq-intro {
  max-width: 390px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-layout h2 {
  font-size: 40px;
}

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

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

.faq-list summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  transition: transform 160ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-list details p > strong {
  display: block;
  margin-bottom: 7px;
  color: var(--red);
  font-weight: 700;
}

.appointment-masthead {
  padding: 82px 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.appointment-title-row {
  display: grid;
  padding-bottom: 64px;
  align-items: end;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
}

.appointment-title-row h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.appointment-title-row > p {
  max-width: 520px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 17px;
}

.appointment-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
}

.appointment-steps li {
  display: grid;
  min-height: 108px;
  padding: 24px 30px;
  align-items: center;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  border-right: 1px solid var(--line);
}

.appointment-steps li:last-child {
  border-right: 0;
}

.appointment-steps > li > span {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 14px;
}

.appointment-steps strong,
.appointment-steps small {
  display: block;
}

.appointment-steps strong {
  margin-bottom: 5px;
  font-size: 16px;
}

.appointment-steps small {
  color: var(--muted);
  font-size: 12px;
}

.contact-section {
  padding: 88px 0 104px;
  color: var(--white);
  background: var(--brown-dark);
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.contact-copy > p:not(.eyebrow) {
  margin: 26px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.8;
}

.contact-copy > h2 {
  font-size: 40px;
}

.contact-copy ul {
  display: grid;
  margin: 32px 0 0;
  padding: 0;
  gap: 10px;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
}

.contact-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-copy li svg {
  width: 17px;
  height: 17px;
  color: #a9c0ac;
}

.contact-copy li strong {
  margin-right: 1px;
  color: #e8b09f;
  font-weight: 700;
}

.contact-card {
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.contact-card-heading {
  display: flex;
  min-height: 88px;
  padding: 18px 20px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 40px;
  color: var(--white);
  background: var(--red);
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card-heading small,
.contact-card-heading h3 {
  display: block;
  margin: 0;
}

.contact-card-heading small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.contact-card-heading h3 {
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
}

.contact-card dl {
  margin: 0;
}

.contact-card dl > div {
  display: grid;
  min-height: 58px;
  padding: 0 20px;
  align-items: center;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-card dl > div:last-child {
  border-bottom: 0;
}

.contact-card dt {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.contact-card dt svg {
  width: 16px;
  height: 16px;
}

.contact-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.contact-form {
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
}

.contact-form-heading {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-form-heading span {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.contact-form-heading h2 {
  margin: 8px 0 6px;
  font-size: 28px;
}

.contact-form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.contact-form label {
  display: grid;
  margin-bottom: 18px;
  gap: 7px;
  color: #544d48;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfc6bb;
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  font-weight: 400;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(143, 48, 41, 0.1);
}

.contact-form .invalid {
  border-color: #b32323;
}

.contact-submit {
  width: 100%;
  color: var(--white);
  background: var(--red);
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  padding: 44px 0;
  color: #cfc4ba;
  background: #201a17;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
}

.footer-brand .brand-copy strong {
  color: var(--white);
}

.footer-brand .brand-copy small {
  color: #aa9f96;
}

.footer-inner p {
  margin: 0;
  font-size: 12px;
}

.copyright {
  color: #8f847c;
}

.case-dialog {
  width: min(1080px, calc(100% - 48px));
  max-width: none;
  max-height: min(860px, calc(100svh - 48px));
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-dialog::backdrop {
  background: rgba(23, 18, 15, 0.78);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(32, 26, 23, 0.8);
  cursor: pointer;
}

.dialog-content {
  display: grid;
  min-height: 640px;
  grid-template-columns: 1.12fr 0.88fr;
}

.dialog-gallery {
  display: grid;
  min-width: 0;
  padding: 22px;
  align-content: start;
  gap: 14px;
  background: #ebe5dd;
}

.dialog-image {
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: #d7cec3;
}

.dialog-thumbs {
  display: flex;
  gap: 8px;
}

.dialog-thumbs button {
  width: 68px;
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.dialog-thumbs button.active {
  border-color: var(--red);
}

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

.dialog-copy {
  padding: 62px 48px 42px;
  overflow-y: auto;
}

.dialog-copy h2 {
  margin-bottom: 20px;
  font-size: 36px;
}

.dialog-summary {
  color: var(--muted);
}

.dialog-meta {
  display: grid;
  margin: 28px 0;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dialog-meta div {
  padding: 15px 0;
}

.dialog-meta dt {
  color: var(--muted);
  font-size: 11px;
}

.dialog-meta dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.dialog-points h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.dialog-points ul {
  margin: 0 0 28px;
  padding-left: 20px;
  color: var(--muted);
}

.dialog-tags {
  display: flex;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 7px;
}

.dialog-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.dialog-actions {
  display: grid;
  gap: 10px;
}

.dialog-contact,
.dialog-source {
  width: 100%;
}

.dialog-source {
  border-color: var(--line);
  color: var(--brown);
  background: transparent;
}

:focus-visible {
  outline: 3px solid rgba(143, 48, 41, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .hero h1 {
    font-size: 60px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    margin-left: auto;
  }

  .menu-toggle {
    display: grid;
    margin-left: 10px;
  }

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

  .service-list article:nth-child(2) {
    border-right: 0;
  }

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

  .archive-heading {
    gap: 48px;
  }

  .archive-tools {
    grid-template-columns: minmax(280px, 1fr) 210px 160px;
  }

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

  .archive-filter:nth-child(3) {
    border-right: 0;
  }

  .archive-filter:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p:not(.copyright) {
    display: none;
  }
}

@media (max-width: 820px) {
  .section-shell,
  .hero-inner,
  .hero-facts {
    width: min(100% - 32px, var(--shell));
  }

  .section {
    padding: 76px 0;
  }

  h2,
  .intro-grid h2,
  .materials-intro h2,
  .process-heading h2,
  .local-grid h2,
  .about-copy h2,
  .faq-layout h2,
  .contact-copy > h2 {
    font-size: 38px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(30, 22, 18, 0.9) 0%, rgba(34, 26, 22, 0.58) 70%, rgba(34, 26, 22, 0.3) 100%);
  }

  .hero-inner {
    min-height: 580px;
    padding: 64px 0 190px;
  }

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

  .hero-facts div {
    min-height: 90px;
    padding: 17px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-facts div:nth-child(2) {
    border-right: 0;
  }

  .hero-facts div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .promise-inner {
    min-height: 64px;
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .promise-inner > * {
    flex: 0 0 auto;
  }

  .promise-inner::-webkit-scrollbar {
    display: none;
  }

  .intro-grid,
  .section-heading,
  .archive-heading,
  .appointment-title-row,
  .materials-grid,
  .process-layout,
  .local-grid,
  .about-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .case-page-header {
    padding-top: 60px;
  }

  .case-page-header-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case-page-header-inner > div {
    padding-bottom: 0;
  }

  .case-page-header h1 {
    font-size: 40px;
  }

  .appointment-title-row {
    padding-bottom: 50px;
  }

  .appointment-steps li {
    padding: 22px 18px;
  }

  .section-heading {
    align-items: start;
  }

  .intro-copy,
  .materials-intro,
  .process-heading {
    position: static;
    padding-top: 0;
  }

  .material-samples-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .archive-tools {
    grid-template-columns: 1fr 1fr;
  }

  .archive-search {
    grid-column: 1 / -1;
  }

  .archive-heading {
    gap: 38px;
  }

  .timeline-year {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .timeline-year-heading strong {
    font-size: 27px;
  }

  .timeline-item {
    grid-template-columns: 45px 76px minmax(0, 1fr) 22px;
  }

  .timeline-copy {
    padding-right: 16px;
  }

  .process-images {
    margin-top: 70px;
  }

  .payment-band {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .payment-band > p {
    white-space: normal;
  }

  .process-images figure {
    aspect-ratio: 4 / 3;
  }

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

  .knowledge-list article,
  .knowledge-list article + article {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .knowledge-list span {
    margin-bottom: 24px;
  }

  .dialog-content {
    grid-template-columns: 1fr;
  }

  .dialog-image {
    height: 46svh;
  }

  .dialog-copy {
    padding: 34px 26px 42px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-header {
    height: 66px;
  }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand {
    min-width: 0;
  }

  .brand-seal {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 19px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    display: none;
  }

  .mobile-nav {
    top: 66px;
  }

  .section-shell,
  .hero-inner,
  .hero-facts {
    width: calc(100% - 28px);
  }

  .section {
    padding: 64px 0;
  }

  h2 {
    font-size: 32px;
  }

  .intro-grid h2,
  .materials-intro h2,
  .process-heading h2,
  .local-grid h2,
  .about-copy h2,
  .faq-layout h2,
  .contact-copy > h2 {
    font-size: 32px;
  }

  .archive-heading h2 {
    font-size: 30px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-image {
    object-position: 56% center;
  }

  .hero-inner {
    min-height: 510px;
    padding: 48px 0 196px;
  }

  .hero h1 {
    margin-bottom: 20px;
    font-size: 42px;
  }

  .intro-heading .eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .intro-point {
    padding: 22px 0;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .intro-point h3 {
    font-size: 18px;
  }

  .intro-point p {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-lead {
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.7;
  }

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

  .button {
    min-height: 48px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-facts {
    width: 100%;
  }

  .hero-facts strong {
    font-size: 15px;
  }

  .hero-facts span {
    font-size: 11px;
  }

  .promise-inner {
    width: calc(100% - 28px);
  }

  .intro-grid,
  .section-heading,
  .appointment-title-row,
  .materials-grid,
  .process-layout,
  .local-grid,
  .about-grid,
  .faq-layout,
  .contact-grid {
    gap: 34px;
  }

  .appointment-masthead {
    padding-top: 58px;
  }

  .appointment-title-row {
    padding-bottom: 40px;
  }

  .appointment-title-row h1 {
    font-size: 36px;
  }

  .appointment-title-row > p {
    font-size: 15px;
  }

  .appointment-steps {
    grid-template-columns: 1fr;
  }

  .appointment-steps li {
    min-height: 82px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .appointment-steps li:last-child {
    border-bottom: 0;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .case-page-header {
    padding-top: 46px;
  }

  .case-page-header-inner {
    gap: 28px;
  }

  .case-page-header h1 {
    font-size: 34px;
  }

  .case-view-tab {
    min-height: 78px;
    padding: 14px 16px;
  }

  .case-view-tab strong {
    font-size: 16px;
  }

  .cases-section {
    padding-top: 36px;
  }

  .archive-section {
    padding-top: 60px;
  }

  .archive-overview dt {
    font-size: 22px;
  }

  .archive-tools {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .archive-search {
    grid-column: auto;
  }

  .archive-filter-row {
    display: flex;
    margin-right: -14px;
    overflow-x: auto;
    border-right: 0;
    scrollbar-width: none;
  }

  .archive-filter-row::-webkit-scrollbar {
    display: none;
  }

  .archive-filter {
    min-width: 132px;
    flex: 0 0 132px;
    border-bottom: 0 !important;
  }

  .archive-result-bar {
    display: grid;
    padding: 12px 0;
    gap: 2px;
  }

  .timeline-year {
    display: block;
  }

  .timeline-year-heading {
    display: flex;
    padding: 24px 0 15px;
    align-items: baseline;
    gap: 10px;
  }

  .timeline-year-heading strong,
  .timeline-year-heading span {
    display: inline;
  }

  .timeline-year-heading span {
    margin-top: 0;
  }

  .timeline-list {
    border-left: 0;
  }

  .timeline-list::before {
    left: 7px;
  }

  .timeline-item {
    min-height: 138px;
    padding: 18px 0;
    align-items: start;
    grid-template-columns: 18px minmax(0, 1fr) 20px;
  }

  .timeline-dot {
    width: 9px;
    height: 9px;
    margin: 9px 0 0 3px;
    border-width: 2px;
  }

  .timeline-date {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    margin-bottom: 7px;
    gap: 8px;
    font-size: 14px;
  }

  .timeline-date small {
    margin-top: 2px;
  }

  .timeline-copy {
    grid-column: 2;
    grid-row: 2;
    padding-right: 12px;
  }

  .timeline-item > svg {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .timeline-copy h3 {
    font-size: 17px;
  }

  .timeline-copy p {
    -webkit-line-clamp: 2;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .case-media {
    aspect-ratio: 4 / 3;
  }

  .case-copy h3 {
    font-size: 20px;
  }

  .materials-table th,
  .materials-table td {
    padding: 14px 10px;
    font-size: 12px;
  }

  .materials-table th:nth-child(3),
  .materials-table td:nth-child(3) {
    display: none;
  }

  .material-samples {
    margin-top: 44px;
  }

  .material-samples-heading {
    display: grid;
    gap: 4px;
  }

  .material-samples-grid {
    display: flex;
    margin-right: -14px;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .material-samples-grid::-webkit-scrollbar {
    display: none;
  }

  .material-samples figure {
    width: 128px;
    flex: 0 0 128px;
    scroll-snap-align: start;
  }

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

  .service-list article {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .service-list span {
    margin-bottom: 26px;
  }

  .process-images {
    grid-template-columns: 1fr;
  }

  .payment-band {
    width: 100%;
    margin-top: 44px;
    padding: 24px 18px;
  }

  .payment-band ol {
    grid-template-columns: 1fr;
  }

  .payment-band li {
    min-height: 44px;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .process-images figure {
    aspect-ratio: 4 / 3;
  }

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

  .community-list span:nth-child(odd),
  .community-list span:nth-child(even) {
    padding: 0;
    border-right: 0;
  }

  .about-image-wrap {
    aspect-ratio: 4 / 4.5;
  }

  .about-facts {
    gap: 8px;
  }

  .about-facts dt {
    font-size: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    margin: 0 -14px;
    padding: 24px 18px;
  }

  .contact-card dl > div {
    padding: 0 16px;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .copyright {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    min-height: 40px;
    margin-left: auto;
    padding: 0 9px;
    gap: 6px;
    font-size: 13px;
  }

  .header-cta svg {
    width: 17px;
    height: 17px;
  }

  .menu-toggle {
    margin-left: 5px;
  }

  .case-dialog {
    width: 100%;
    max-height: 100svh;
    height: 100svh;
    border-radius: 0;
  }

  .dialog-gallery {
    padding: 12px;
  }

  .dialog-image {
    height: 44svh;
  }

  .dialog-copy h2 {
    font-size: 30px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 40px;
  }

  .case-page-header h1 {
    font-size: 32px;
  }
}

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

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