/* =========================================================
   内页与组件样式
   ========================================================= */

/* ---------- 1. Page hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 6.4vw, 84px));
  padding-bottom: clamp(46px, 6vw, 78px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: grayscale(0.4) contrast(1.05);
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(5, 14, 19, 0.97) 0%,
      rgba(5, 14, 19, 0.86) 48%,
      rgba(5, 14, 19, 0.5) 100%
    ),
    linear-gradient(0deg, rgba(5, 14, 19, 0.9), transparent 60%);
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: linear-gradient(100deg, #000, transparent 78%);
  mask-image: linear-gradient(100deg, #000, transparent 78%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(242, 244, 240, 0.42);
}

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

.breadcrumb i {
  font-style: normal;
  opacity: 0.5;
}

.page-hero h1 {
  margin-top: 20px;
  font-family: var(--f-serif);
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--signal);
}

.page-hero__lead {
  max-width: 600px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(242, 244, 240, 0.66);
}

.page-hero__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: clamp(0px, 3vw, 32px);
  border-left: 1px solid var(--line-light);
}

.page-hero__side dl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
}

.page-hero__side dt {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(242, 244, 240, 0.46);
  white-space: nowrap;
}

.page-hero__side dd {
  font-family: var(--f-mono);
  font-size: 22px;
  line-height: 1;
}

.page-hero__side dd small {
  font-size: 0.5em;
  color: rgba(242, 244, 240, 0.5);
}

.page-hero__stamp {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-h) + 30px);
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: rgba(242, 244, 240, 0.3);
  text-align: right;
  line-height: 2;
}

/* ---------- 2. About ---------- */
.about-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.about-figure {
  position: relative;
  margin: 0;
}

.about-figure__frame {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
}

.about-figure__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.about-figure:hover .about-figure__frame img {
  transform: scale(1.03);
}

.about-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.about-copy .section-title {
  margin-top: 18px;
}

.about-copy p {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--muted);
}

.about-copy p strong {
  color: var(--ink);
  font-weight: 600;
}

.about-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.about-sign span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.numbers-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.numbers-band > div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.numbers-band > div:last-child {
  border-right: 0;
}

.numbers-band dt {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.numbers-band dd {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
}

.numbers-band dd small {
  font-size: 0.42em;
  color: var(--signal);
  margin-left: 3px;
}

/* Timeline */
.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 24px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.timeline-item__year {
  font-family: var(--f-mono);
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink);
}

.timeline-item__year small {
  display: block;
  margin-top: 4px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.timeline-item__dot {
  position: relative;
}

.timeline-item__dot::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--signal);
  background: var(--paper);
  transform: rotate(45deg);
}

.timeline-item__dot::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 24px;
  bottom: -26px;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child .timeline-item__dot::after {
  display: none;
}

.timeline-item h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.timeline-item p {
  max-width: 620px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.team-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--ink);
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 1s var(--ease), filter 0.6s;
}

.team-card:hover .team-card__media img {
  transform: scale(1.04);
  filter: saturate(1);
}

.team-card__body {
  padding: 22px;
}

.team-card__body span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--signal);
}

.team-card__body h3 {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 700;
}

.team-card__body p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.value-card {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.value-card span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--signal);
}

.value-card h3 {
  margin-top: 14px;
  font-family: var(--f-serif);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.5;
}

.value-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(242, 244, 240, 0.55);
}

/* ---------- 3. Services ---------- */
.module {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(42px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

.module:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.module--flip .module__media {
  order: 2;
}

.module__media {
  position: relative;
}

.module__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--line);
}

.module__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 1.1s var(--ease);
}

.module:hover .module__frame img {
  transform: scale(1.04);
}

.module__code {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 9px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.module__caption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.module__body .section-title {
  margin-top: 16px;
  font-size: clamp(26px, 3.2vw, 40px);
}

.module__body > p {
  max-width: 480px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
}

.deliverables li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 7px;
  background: var(--signal);
  transform: rotate(45deg);
}

.module__note {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--paper-2);
  border-left: 2px solid var(--signal);
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* Cooperation models */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.model-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.35s, transform 0.4s var(--ease);
}

.model-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}

.model-card--dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.model-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.model-card--dark .model-card__top {
  border-color: var(--line-light);
}

.model-card__top span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--signal);
}

.model-card__top em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 9px;
  color: var(--muted);
}

.model-card--dark .model-card__top em {
  color: rgba(242, 244, 240, 0.5);
}

.model-card h3 {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 700;
}

.model-card p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.model-card--dark p {
  color: rgba(242, 244, 240, 0.6);
}

.model-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.model-card li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.7;
}

.model-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--signal);
}

.model-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

/* Flow */
.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.flow-step {
  position: relative;
  padding: 22px 16px 6px 0;
  border-right: 1px solid var(--line-light);
}

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

.flow-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--signal);
}

.flow-step span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(242, 244, 240, 0.42);
}

.flow-step h3 {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 700;
}

.flow-step p {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(242, 244, 240, 0.5);
}

/* FAQ */
.faq {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

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

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.faq-q:hover,
.faq-q[aria-expanded="true"] {
  color: var(--signal);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.faq-icon::before {
  width: 8px;
  height: 1px;
}

.faq-icon::after {
  width: 1px;
  height: 8px;
}

.faq-q[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a__inner {
  max-width: 700px;
  padding: 0 0 24px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

/* ---------- 4. Cases ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-chip {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

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

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

.filter-count {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.filter-empty {
  display: none;
  padding: 60px 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  font-size: 13px;
  color: var(--muted);
}

.filter-empty.is-visible {
  display: block;
}

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

.case-card.is-hidden {
  display: none;
}

.case-card__school {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.case-card__meta span {
  padding: 3px 8px;
  background: var(--paper-2);
  font-size: 10px;
  color: var(--muted);
  border-radius: 2px;
}

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

.case-note {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-note span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--signal);
}

.case-note h3 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
}

.case-note p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 5. News ---------- */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.news-rows {
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 22px;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s var(--ease);
}

.news-row:hover {
  background: rgba(255, 255, 255, 0.5);
  padding-inline: 12px;
}

.news-row__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.news-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 0.9s var(--ease), filter 0.5s;
}

.news-row:hover .news-row__media img {
  transform: scale(1.05);
  filter: saturate(1);
}

.news-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.news-row__meta em {
  font-style: normal;
  padding: 3px 7px;
  background: var(--paper-2);
  color: var(--ink);
}

.news-row h3 {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.3s;
}

.news-row:hover h3 {
  color: var(--signal);
}

.news-row p {
  max-width: 620px;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.news-row > svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.3s, color 0.3s;
}

.news-row:hover > svg {
  color: var(--signal);
  transform: translateX(4px);
}

.news-row.is-hidden {
  display: none;
}

.news-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.aside-card h3 {
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.aside-card p {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

.aside-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.aside-tags a,
.aside-tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}

.aside-tags a:hover {
  border-color: var(--signal);
  color: var(--signal);
}

.aside-card--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.aside-card--dark h3 {
  color: rgba(242, 244, 240, 0.5);
}

.aside-card--dark p {
  color: rgba(242, 244, 240, 0.6);
}

.aside-card--dark .btn {
  margin-top: 16px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.pagination a:hover,
.pagination .is-current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pagination .is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ---------- 6. Article ---------- */
.article-header {
  padding-top: calc(var(--header-h) + clamp(44px, 6vw, 80px));
  padding-bottom: clamp(30px, 4vw, 44px);
  background: var(--paper);
}

.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.article-header .breadcrumb a:hover {
  color: var(--ink);
}

.article-header__meta em {
  font-style: normal;
  padding: 4px 9px;
  background: var(--signal);
  color: #fff;
}

.article-header h1 {
  max-width: 900px;
  margin-top: 20px;
  font-family: var(--f-serif);
  font-size: clamp(30px, 4.3vw, 56px);
  font-weight: 700;
  line-height: 1.35;
}

.article-header__lead {
  max-width: 720px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}

.article-cover {
  margin: 0 0 clamp(34px, 5vw, 56px);
}

.article-cover__frame {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--ink);
}

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

.article-cover figcaption {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.article-body {
  max-width: 760px;
}

.article-body > p {
  margin-bottom: 20px;
  font-size: 15.5px;
  line-height: 2.05;
  color: #263a42;
}

.article-body h2 {
  margin: 42px 0 16px;
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
}

.article-body h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--signal);
}

.article-body h3 {
  margin: 28px 0 12px;
  font-size: 17px;
  font-weight: 600;
}

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

.article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #263a42;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--signal);
  transform: rotate(45deg);
}

.article-body blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  background: var(--paper-2);
  border-left: 3px solid var(--signal);
  font-family: var(--f-serif);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.7;
}

.article-body blockquote p {
  margin: 0;
  color: var(--ink);
  font-size: inherit;
}

.article-body figure {
  margin: 34px 0;
}

.article-body figure img {
  width: 100%;
  border: 1px solid var(--line);
}

.article-body figcaption {
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.article-body .article-note {
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.article-aside h3 {
  font-family: var(--f-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.article-aside dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-aside dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
}

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

.article-aside dd {
  text-align: right;
  font-family: var(--f-mono);
  font-size: 10.5px;
}

.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.article-share button {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}

.article-share button:hover {
  border-color: var(--signal);
  color: var(--signal);
}

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

.related-grid .news-feature h3 {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
}

.related-grid .news-feature p {
  margin-top: 6px;
  font-size: 12px;
}

.related-grid .news-feature__media {
  aspect-ratio: 16 / 10;
}

/* ---------- 7. Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-form-card {
  padding: clamp(24px, 3vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-form-card h2 {
  font-family: var(--f-serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
}

.contact-form-card > p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

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

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

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

.field label {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.field label b {
  color: var(--signal);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.6;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2355666b' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 77, 30, 0.13);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--signal);
}

.field__error {
  display: none;
  font-size: 11.5px;
  color: var(--signal-deep);
}

.field.has-error .field__error {
  display: block;
}

.check-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.check-field input {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: var(--signal);
  flex: none;
}

.check-field.has-error span {
  color: var(--signal-deep);
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.form-foot small {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1.6;
}

.form-success {
  display: none;
  padding: 40px 24px;
  text-align: center;
}

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

.form-success__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border: 1px solid var(--signal);
  border-radius: 50%;
  color: var(--signal);
}

.form-success h3 {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 700;
}

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

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

.contact-info__list {
  border-top: 1px solid var(--line);
}

.contact-info__item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
}

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

.contact-info__item span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-info__item b {
  display: block;
  margin-top: 3px;
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.contact-info__item p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

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

.office-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.office-card span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--signal);
}

.office-card h3 {
  margin-top: 8px;
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 700;
}

.office-card p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.office-card b {
  display: block;
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.map-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--ink-2);
  border: 1px solid var(--ink-2);
  overflow: hidden;
}

.map-panel svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(242, 244, 240, 0.55);
}

.module {
  scroll-margin-top: calc(var(--header-h) + 22px);
}

/* ---------- 8. Responsive ---------- */
@media (max-width: 1180px) {
  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .flow-step {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line-light);
  }

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

@media (max-width: 1024px) {
  .page-hero__inner {
    grid-template-columns: 1fr;
  }

  .page-hero__side {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
    margin-top: 6px;
  }

  .page-hero__side dl {
    flex: 1 1 28%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--line-light);
  }

  .page-hero__side dl:last-child {
    border-right: 0;
  }

  .page-hero__stamp {
    display: none;
  }

  .about-lead {
    grid-template-columns: 1fr;
  }

  .about-figure {
    order: 2;
  }

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

  .module {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .module--flip .module__media {
    order: 0;
  }

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

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

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .news-aside .aside-card {
    flex: 1 1 260px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-top: 22px;
  }

  .article-aside h3 {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 860px) {
  .page-hero h1 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .page-hero__lead {
    font-size: 14px;
  }

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

  .numbers-band > div {
    border-bottom: 1px solid var(--line);
  }

  .numbers-band > div:nth-child(2n) {
    border-right: 0;
  }

  .numbers-band > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .timeline-item {
    grid-template-columns: 70px 18px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .timeline-item__year {
    font-size: 17px;
  }

  .timeline-item__year small {
    font-size: 8px;
  }

  .timeline-item h3 {
    font-size: 15px;
  }

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

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

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

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

  .flow-step {
    border-right: 0;
    padding: 16px 0 16px 18px;
    border-bottom: 1px solid var(--line-light);
  }

  .flow-step::before {
    top: 22px;
    left: 0;
  }

  .flow-step p {
    max-width: 420px;
  }

  .model-grid {
    gap: 12px;
  }

  .case-grid--library {
    grid-template-columns: 1fr;
  }

  .case-notes {
    grid-template-columns: 1fr;
  }

  .news-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 0;
  }

  .news-row > svg {
    display: none;
  }

  .news-row p {
    display: none;
  }

  .news-row h3 {
    font-size: 16px;
    margin-top: 6px;
  }

  .news-row__media {
    aspect-ratio: 1 / 1;
  }

  .news-aside {
    flex-direction: column;
  }

  .pagination {
    margin-top: 24px;
  }

  .article-header h1 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .article-cover__frame {
    aspect-ratio: 16 / 10;
  }

  .article-body > p {
    font-size: 15px;
    line-height: 1.95;
  }

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

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

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

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

  .filter-bar {
    gap: 6px;
  }

  .filter-chip {
    padding: 7px 13px;
    font-size: 11.5px;
  }

  .filter-count {
    width: 100%;
    margin-left: 0;
    margin-top: 4px;
  }

  .page-hero__side {
    display: none;
  }
}

@media (max-width: 480px) {
  .timeline-item {
    grid-template-columns: 58px 14px minmax(0, 1fr);
    gap: 10px;
  }

  .timeline-item__year {
    font-size: 15px;
  }

  .article-body blockquote {
    padding: 18px 20px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }
}
