/* ============================================================
   BASE — Reset & Global Tokens
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #1f1f1f;
  background-color: #f5f3f0;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #2a4858;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a63c06;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 600;
  line-height: 1.4;
  color: #1f1f1f;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 1em;
}

figure {
  margin: 0;
}

/* ============================================================
   LAYOUT — Shared Shell (Header / Footer / Grid)
   ============================================================ */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #d9d2c8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: 0.02em;
}

.brand-tagline {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 12px;
  color: #5f5f5f;
  border-left: 1px solid #d9d2c8;
  padding-left: 10px;
  line-height: 1.4;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  color: #5f5f5f;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: #a63c06;
  background: #f5f3f0;
}

.nav-link.is-current {
  color: #a63c06;
  font-weight: 600;
  background: #f5f3f0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #1f1f1f;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  flex: 1;
  width: 100%;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #d9d2c8;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 700;
  color: #1f1f1f;
}

.footer-slogan {
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
  color: #a63c06;
  margin: 10px 0 8px;
}

.footer-desc {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 14px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 13px;
  color: #5f5f5f;
}

.footer-col a:hover {
  color: #a63c06;
}

.footer-bottom {
  border-top: 1px solid #d9d2c8;
  padding: 20px 24px;
  text-align: center;
}

.footer-boundary {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 12px;
  color: #aaa;
  margin: 0;
}

/* ============================================================
   COMPONENTS — Buttons, Cards, FAQ, Sidebar, Breadcrumb
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background: #a63c06;
  color: #ffffff;
  border-color: #a63c06;
}

.btn-primary:hover {
  background: #8a2f04;
  border-color: #8a2f04;
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #2a4858;
  border-color: #2a4858;
}

.btn-secondary:hover {
  background: #2a4858;
  color: #ffffff;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #a63c06;
  padding: 8px 4px;
  min-height: 44px;
}

.btn-text::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #5f5f5f;
}

.breadcrumb a:hover {
  color: #a63c06;
}

.breadcrumb-sep {
  color: #bbb;
  font-size: 12px;
}

.breadcrumb-current {
  color: #a63c06;
  font-weight: 500;
}

/* Page header area (inner pages) */
.page-header {
  margin-bottom: 36px;
}

.page-title {
  font-size: 32px;
  color: #1f1f1f;
  margin-bottom: 10px;
}

.page-intro {
  font-size: 15px;
  color: #5f5f5f;
  max-width: 720px;
  margin: 0;
}

/* Sidebar shared */
.sidebar-card {
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card h2,
.sidebar-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d2c8;
}

.sidebar-links li {
  margin-bottom: 12px;
}

.sidebar-links a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: #2a4858;
  line-height: 1.5;
}

.sidebar-links a::before {
  content: "—";
  color: #a63c06;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  flex-shrink: 0;
}

.sidebar-links a:hover {
  color: #a63c06;
}

/* FAQ accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1f1f1f;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-family: "JetBrains Mono", monospace;
  color: #a63c06;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #5f5f5f;
  margin: 0;
  line-height: 1.75;
}

/* ============================================================
   INDEX PAGE — Home
   ============================================================ */
.home-main {
  width: 100%;
}

/* Hero */
.hero-section {
  background: #ffffff;
  border-bottom: 1px solid #d9d2c8;
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.hero-text h1 {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 16px;
  color: #5f5f5f;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 24px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.meta-label {
  font-size: 12px;
  font-weight: 600;
  color: #a63c06;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #888;
}

.hero-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.card-summary {
  font-size: 14px;
  color: #5f5f5f;
  line-height: 1.7;
  margin-bottom: 14px;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: #a63c06;
}

/* Section header shared */
.section-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 14px;
  color: #5f5f5f;
  max-width: 640px;
  margin: 0;
}

/* Services */
.services-section {
  padding: 72px 0 56px;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: #a63c06;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.service-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.02);
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  color: #a63c06;
}

/* Data brief */
.data-section {
  padding: 56px 0;
  background: #ffffff;
  border-top: 1px solid #d9d2c8;
  border-bottom: 1px solid #d9d2c8;
}

.data-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.data-card {
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 24px;
}

.data-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  color: #a63c06;
  margin-bottom: 12px;
}

.data-chart {
  height: 8px;
  background: #e5e0d8;
  border-radius: 4px;
  margin-bottom: 14px;
  overflow: hidden;
}

.chart-bar {
  display: block;
  height: 100%;
  background: #2a4858;
  border-radius: 4px;
}

.chart-bar-72 { width: 72%; }
.chart-bar-66 { width: 66%; }
.chart-bar-58 { width: 58%; }
.chart-bar-41 { width: 41%; }

.data-text {
  font-size: 14px;
  color: #1f1f1f;
  line-height: 1.7;
  margin-bottom: 8px;
}

.data-source {
  font-size: 12px;
  color: #888;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #d9d2c8;
}

/* Brief preview */
.brief-preview-section {
  padding: 72px 0 56px;
}

.brief-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.brief-item {
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.brief-item:hover {
  border-color: #a63c06;
}

.brief-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.brief-info {
  padding: 20px;
}

.brief-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #a63c06;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.brief-item:hover .brief-number {
  color: #8a2f04;
  font-weight: 700;
}

.brief-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.brief-info p {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 1.7;
  margin: 0;
}

.brief-actions {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
  text-align: center;
}

/* Process */
.process-section {
  padding: 56px 0;
  background: #ffffff;
  border-top: 1px solid #d9d2c8;
}

.process-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 24px;
  position: relative;
}

.step-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 32px;
  font-weight: 700;
  color: #d9d2c8;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 1.7;
  margin: 0;
}

/* FAQ preview */
.faq-preview-section {
  padding: 56px 0;
}

.faq-preview-section .faq-accordion {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-more {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
  text-align: center;
}

/* Cooperation CTA */
.cooperation-cta-section {
  padding: 64px 0;
  background: #2a4858;
}

.cta-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.cta-actions .btn-primary {
  background: #ffffff;
  color: #2a4858;
  border-color: #ffffff;
}

.cta-actions .btn-primary:hover {
  background: #f5f3f0;
  border-color: #f5f3f0;
}

.cta-actions .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Related links strip on index */
.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-label {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-right: 8px;
}

.related-links-item {
  font-size: 13px;
  color: #2a4858;
  padding: 6px 12px;
  border: 1px solid #d9d2c8;
  border-radius: 20px;
  background: #ffffff;
}

.related-links-item:hover {
  border-color: #a63c06;
  color: #a63c06;
}

/* ============================================================
   INNER PAGES — Shared Layout Shell
   ============================================================ */
.inner-main {
  width: 100%;
}

.page-container,
.page-inner,
.page-title-wrap,
.page-heading {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-title-wrap,
.page-heading {
  padding-top: 40px;
  padding-bottom: 8px;
}

.page-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: #a63c06;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.main-content {
  min-width: 0;
  width: 100%;
}

/* Sidebar variants */
.sidebar-content,
.sidebar-area,
.sidebar,
.related-sidebar {
  min-width: 0;
}

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.page-archive .layout-shell {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.archive-section {
  margin-bottom: 48px;
}

.archive-section h2 {
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d9d2c8;
}

.positioning-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}

.archive-figure {
  margin: 0;
}

.archive-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #d9d2c8;
}

.positioning-text {
  font-size: 15px;
  color: #3a3a3a;
  line-height: 1.85;
  margin-bottom: 14px;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag-item {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 20px;
  color: #5f5f5f;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.principle-card {
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 24px;
}

.principle-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  color: #d9d2c8;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

.principle-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 1.7;
  margin: 0;
}

.boundary-list {
  margin-bottom: 16px;
}

.boundary-list li {
  font-size: 14px;
  color: #3a3a3a;
  padding: 8px 0 8px 20px;
  position: relative;
  line-height: 1.7;
}

.boundary-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #a63c06;
  font-family: "JetBrains Mono", monospace;
}

.boundary-note {
  font-size: 13px;
  color: #888;
  background: #f5f3f0;
  border-left: 3px solid #d9d2c8;
  padding: 14px 18px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   METHOD PAGE
   ============================================================ */
.page-method .layout-shell {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.method-section {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #d9d2c8;
}

.method-section:last-of-type {
  border-bottom: none;
}

.method-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.method-no {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  color: #a63c06;
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 4px;
  padding: 4px 10px;
  flex-shrink: 0;
}

.section-title {
  font-size: 22px;
  margin: 0;
}

.method-desc {
  font-size: 15px;
  color: #3a3a3a;
  line-height: 1.85;
  margin-bottom: 14px;
}

.deliverable-box {
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 16px;
}

.deliverable-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f1f1f;
  margin-bottom: 10px;
}

.deliverable-list {
  list-style: none;
}

.deliverable-list li {
  font-size: 14px;
  color: #5f5f5f;
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.7;
}

.deliverable-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: #a63c06;
  font-size: 18px;
  line-height: 1.4;
}

.content-media {
  margin: 24px 0;
}

.content-media-inline {
  max-width: 640px;
}

.content-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d9d2c8;
}

.content-media figcaption {
  font-size: 12px;
  color: #888;
  padding: 8px 4px 0;
  line-height: 1.6;
}

.sidebar-note {
  background: #f5f3f0;
}

.sidebar-note-text {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   BRIEF PAGE
   ============================================================ */
.page-brief .page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.brief-directory {
  margin-bottom: 48px;
}

.brief-directory h2,
.research-direction h2 {
  font-size: 22px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d9d2c8;
}

.section-note {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.brief-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brief-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 16px;
  align-items: start;
  transition: border-color 0.2s ease;
}

.brief-item:hover {
  border-color: #a63c06;
}

.brief-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
}

.brief-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.brief-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: #a63c06;
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 4px;
  padding: 2px 8px;
}

.brief-title {
  font-size: 16px;
  margin-bottom: 6px;
}

.brief-summary {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 1.7;
  margin: 0;
}

.research-direction p {
  font-size: 15px;
  color: #3a3a3a;
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ============================================================
   COOPERATION PAGE
   ============================================================ */
.page-cooperation .layout-shell {
  display: block;
  padding-top: 8px;
}

.page-cooperation .page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.cooperation .main-content {
  min-width: 0;
}

.process-section .section-desc,
.consult-section .section-desc {
  font-size: 14px;
  color: #5f5f5f;
  margin-bottom: 24px;
}

.cooperation .process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0 0 32px;
}

.cooperation .process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 24px;
}

.cooperation .step-number {
  font-size: 28px;
  color: #a63c06;
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 6px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.step-detail h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.step-role {
  font-size: 14px;
  color: #3a3a3a;
  line-height: 1.7;
  margin-bottom: 6px;
}

.step-role strong {
  color: #1f1f1f;
  font-weight: 600;
}

.step-deliverable {
  font-size: 13px;
  color: #a63c06;
  margin-top: 6px;
}

.process-visual {
  margin: 32px 0 40px;
}

.process-figure {
  margin: 0;
}

.process-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d9d2c8;
}

.process-figure figcaption {
  font-size: 12px;
  color: #888;
  padding: 8px 4px 0;
}

.consult-section {
  margin-bottom: 24px;
}

.consult-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.consult-card {
  background: #f5f3f0;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 20px;
}

.consult-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.consult-card p {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 1.7;
  margin: 0;
}

.consult-note {
  font-size: 13px;
  color: #888;
  background: #f5f3f0;
  border-left: 3px solid #d9d2c8;
  padding: 14px 18px;
  line-height: 1.7;
}

.related-sidebar .sidebar-inner {
  position: sticky;
  top: 96px;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.page-faq .layout-shell {
  display: block;
  padding-top: 8px;
}

.page-faq .page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.faq-section {
  margin-bottom: 40px;
}

.faq-group-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d9d2c8;
}

.faq-group-link {
  display: inline-block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #5f5f5f;
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 20px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.faq-group-link:hover {
  border-color: #a63c06;
  color: #a63c06;
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group h2 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d2c8;
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #5f5f5f;
  line-height: 1.75;
  margin: 0;
}

.faq-media {
  margin: 32px 0;
}

.media-figure {
  margin: 0;
}

.media-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d9d2c8;
}

.media-figure figcaption {
  font-size: 12px;
  color: #888;
  padding: 8px 4px 0;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-panel {
  background: #ffffff;
  border: 1px solid #d9d2c8;
  border-radius: 8px;
  padding: 56px 48px;
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 72px;
  font-weight: 700;
  color: #d9d2c8;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 14px;
  color: #5f5f5f;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #2a4858;
  color: #2a4858;
  min-height: 44px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.error-link:hover {
  background: #2a4858;
  color: #ffffff;
}

.error-link:first-child {
  background: #a63c06;
  border-color: #a63c06;
  color: #ffffff;
}

.error-link:first-child:hover {
  background: #8a2f04;
  border-color: #8a2f04;
}

/* ============================================================
   RESPONSIVE — Tablet & Mobile
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brief-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-layout {
    gap: 32px;
  }

  .layout-shell,
  .page-brief .page-layout,
  .page-cooperation .page-layout,
  .page-faq .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .positioning-block {
    grid-template-columns: 180px 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* Header & mobile nav */
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #d9d2c8;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 2px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    z-index: 99;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 6px;
  }

  /* Typography scale down */
  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 21px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  /* Hero */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Sections */
  .services-section,
  .brief-preview-section {
    padding: 48px 0 40px;
  }

  .data-section,
  .process-section,
  .faq-preview-section {
    padding: 40px 0;
  }

  .cooperation-cta-section {
    padding: 48px 0;
  }

  .section-header {
    padding: 0 16px;
    margin-bottom: 28px;
  }

  .services-grid,
  .data-grid,
  .brief-strip,
  .process-steps {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 16px;
  }

  .brief-actions,
  .faq-more {
    padding: 0 16px;
  }

  .faq-preview-section .faq-accordion {
    padding: 0 16px;
  }

  /* CTA */
  .cta-layout {
    flex-direction: column;
    text-align: center;
    padding: 0 16px;
    gap: 24px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* Related links */
  .related-links {
    padding: 16px;
  }

  /* Inner pages */
  .page-container,
  .page-inner,
  .page-title-wrap,
  .page-heading {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title-wrap,
  .page-heading {
    padding-top: 28px;
  }

  .layout-shell {
    display: block;
    padding: 24px 16px 48px;
  }

  .page-brief .page-layout,
  .page-cooperation .page-layout,
  .page-faq .page-layout {
    display: block;
  }

  .sidebar-content,
  .sidebar-area,
  .sidebar,
  .related-sidebar {
    margin-top: 32px;
  }

  .related-sidebar .sidebar-inner {
    position: static;
  }

  /* Archive */
  .positioning-block {
    grid-template-columns: 1fr;
  }

  .archive-figure img {
    height: 200px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Method */
  .method-head {
    flex-wrap: wrap;
  }

  .content-media-inline {
    max-width: 100%;
  }

  /* Brief */
  .brief-item {
    grid-template-columns: 1fr;
  }

  .brief-thumb {
    height: 160px;
  }

  /* Cooperation */
  .cooperation .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cooperation .step-number {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .consult-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* FAQ */
  .faq-group-nav {
    flex-wrap: wrap;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    padding: 16px;
  }

  /* 404 */
  .error-panel {
    padding: 40px 24px;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-col {
    margin-bottom: 8px;
  }

  .footer-col h3 {
    margin-bottom: 10px;
  }

  .footer-col li {
    margin-bottom: 8px;
  }

  .consult-cards {
    grid-template-columns: 1fr;
  }

  .brief-list {
    gap: 12px;
  }

  .brief-item {
    padding: 12px;
    gap: 14px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-link {
    width: 100%;
  }
}
