* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66645f;
  --line: #e8e2d7;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --soft: #f2efe7;
  --accent: #1f6f8b;
  --accent-2: #0e465a;
  --accent-soft: #e4f0f3;
  --warm: #9a5b35;
  --shadow: 0 18px 48px rgba(38, 31, 24, 0.1);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.72;
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-weight: 760;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 226, 215, 0.9);
  padding: 0 max(24px, calc((100% - 1120px) / 2));
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  flex-wrap: wrap;
}

.site-header {
  min-height: 72px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 760;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 8px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

nav a.is-active {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.language-switcher {
  display: block;
  flex: 0 0 auto;
  line-height: 1;
}

.language-switcher select {
  min-width: 118px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 760;
  line-height: 1;
  padding: 0 32px 0 12px;
  cursor: pointer;
}

.language-switcher select:hover,
.language-switcher select:focus {
  border-color: var(--accent);
  color: var(--ink);
  outline: none;
}

#google_translate_element {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#google_translate_element .goog-te-gadget {
  font-size: 0;
}

.goog-te-banner-frame,
iframe.skiptranslate,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

body {
  top: 0 !important;
}

.hero {
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(90deg, rgba(31, 111, 139, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 111, 139, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 92px 24px 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 64px;
}

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

.kicker {
  display: inline-block;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  color: var(--accent-2);
  font-weight: 720;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 8px;
  font-weight: 720;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button-primary {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(23, 23, 23, 0.16);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.hero .hero-actions .button-primary:hover,
.hero .hero-actions .button-secondary:hover {
  transform: translateY(-2px);
}

.hero .hero-actions .button-primary:hover {
  box-shadow: 0 20px 38px rgba(23, 23, 23, 0.2);
}

.hero .hero-actions .button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  box-shadow: 0 14px 26px rgba(38, 31, 24, 0.08);
}

.hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 470px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-panel-head,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.hero-feature {
  display: block;
  padding: 40px 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-feature:hover {
  box-shadow: 0 10px 22px rgba(38, 31, 24, 0.06);
  transform: translateY(-2px);
}

.card-category {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 720;
}

.hero-feature strong {
  display: block;
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.16;
}

.hero-feature em {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.68;
}

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

.feature-link {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.feature-link:hover {
  background: rgba(255, 255, 255, 0.58);
  color: var(--accent-2);
  transform: translateY(-2px);
}

.feature-link strong {
  font-size: 16px;
  line-height: 1.42;
}

.feature-link p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.intro,
.sections,
.article-list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 78px 24px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 74px;
}

.intro-grid h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.intro-grid > p {
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.85;
}

.section-heading {
  max-width: 720px;
  margin: 0 0 34px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
}

.section-heading::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--warm);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.heading-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.heading-link::after {
  content: "→";
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.58em;
  line-height: 1;
  transform: translateY(1px);
  transition: transform 0.2s ease;
}

.heading-link:hover::after {
  transform: translate(4px, 1px);
}

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

.case-index-page .section-pills {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.article-index-page {
  padding-top: 44px;
}

.article-search-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  gap: 22px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 239, 231, 0.92)),
    linear-gradient(90deg, rgba(31, 111, 139, 0.08), transparent);
  box-shadow: var(--shadow);
}

.article-search-panel h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
}

.article-search-panel p {
  margin: 0;
  color: var(--muted);
}

.article-search-copy {
  display: grid;
  gap: 8px;
}

.article-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  align-content: center;
}

.search-input-wrap {
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 16px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: rgba(31, 111, 139, 0.4);
  box-shadow: 0 0 0 4px rgba(31, 111, 139, 0.08);
}

.search-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.search-count {
  font-size: 14px;
  font-weight: 760;
  color: var(--ink);
}

.search-clear {
  border: 0;
  background: transparent;
  color: var(--accent-2);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 36px 28px;
  border: 1px dashed rgba(23, 23, 23, 0.14);
  background: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.search-empty strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.section-overview,
.article-groups,
.search-empty {
  grid-column: 1 / -1;
}

.section-overview {
  display: grid;
  gap: 18px;
  padding: 8px 0 6px;
}

.compact-overview {
  padding-top: 0;
}

.section-overview-head {
  display: grid;
  gap: 6px;
}

.section-overview-head h3,
.article-group-head h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.16;
}

.article-groups {
  display: grid;
  gap: 28px;
}

.article-group {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 245, 239, 0.92)),
    linear-gradient(90deg, rgba(31, 111, 139, 0.06), transparent);
  box-shadow: var(--shadow);
  scroll-margin-top: 86px;
}

.case-group {
  scroll-margin-top: 92px;
}

.case-empty-note {
  display: grid;
  gap: 8px;
  padding: 28px;
  border: 1px dashed rgba(23, 23, 23, 0.14);
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
}

.case-empty-note strong {
  color: var(--ink);
  font-size: 18px;
}

.case-empty-note p {
  margin: 0;
}

.article-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 18px;
  align-items: end;
}

.article-group-head > div {
  display: grid;
  gap: 6px;
}

.article-group-count {
  margin: 0;
  color: var(--muted);
}

.section-search-wrap input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.section-search-wrap input:focus {
  outline: none;
  border-color: rgba(31, 111, 139, 0.4);
  box-shadow: 0 0 0 4px rgba(31, 111, 139, 0.08);
}

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

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

.group-page-button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.group-page-button:hover:not(:disabled) {
  border-color: rgba(31, 111, 139, 0.28);
  color: var(--ink);
}

.group-page-button.is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.group-page-button:disabled {
  opacity: 0.4;
  cursor: default;
}

.section-empty-note {
  grid-column: 1 / -1;
  padding: 22px 20px;
  border: 1px dashed rgba(23, 23, 23, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
}

.section-empty-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.article-list {
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-list .section-heading {
  grid-column: 1 / -1;
}

.home-spotlight {
  padding-bottom: 0;
}

.home-section-heading {
  margin-bottom: 28px;
}

.pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.page-link {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 740;
}

.page-link.is-current {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.article-card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-card a {
  display: block;
}

time {
  color: #817b72;
  font-size: 13px;
  font-weight: 680;
}

.section-pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 108px;
  color: var(--muted);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.section-pill:hover {
  border-color: rgba(31, 111, 139, 0.42);
  background: #ffffff;
  transform: translateY(-2px);
}

.section-pill strong {
  color: var(--ink);
  font-size: 18px;
}

.section-pill.is-disabled {
  opacity: 0.54;
}

.card-media {
  position: relative;
  height: 176px;
  overflow: hidden;
  background: var(--soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.article-card:hover .card-media img {
  transform: scale(1.04);
}

.card-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(31, 111, 139, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(154, 91, 53, 0.12) 1px, transparent 1px),
    #f6f1e9;
  background-size: 22px 22px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 22px;
  font-weight: 760;
}

.card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.card-body {
  padding: 22px;
}

.article-card h2 {
  margin: 12px 0 10px;
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: 0;
}

.article-card p,
.article-head p,
.site-footer {
  color: var(--muted);
}

.article-card p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

.read-more {
  display: inline-flex;
  margin-top: 10px;
  transition: color 0.2s ease, transform 0.2s ease;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 780;
}

.read-more:hover,
.article-card:hover .read-more,
.case-index-card:hover .read-more {
  color: var(--ink);
  transform: translateX(2px);
}

.contact {
  background: transparent;
  color: var(--ink);
}

.contact-stack {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-plain .contact-stack,
.contact-plain .contact-shell,
.contact-plain .inquiry-panel,
.contact-plain .newsletter-form {
  box-shadow: none;
}

.contact-plain .contact-stack {
  padding: 0;
}

.contact-plain .contact-shell {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
}

.contact-plain .newsletter-form {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  align-items: end;
}

.contact-plain .newsletter-copy {
  max-width: none;
}

.contact-plain .newsletter-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.72fr) auto;
  gap: 14px;
  align-items: end;
}

.contact-plain .newsletter-fields {
  display: grid;
  grid-template-columns: 1fr;
}

.contact-plain .inquiry-panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
}

.contact-plain .contact-copy .kicker {
  display: none;
}

.contact-plain .newsletter-form h2,
.contact-plain .contact-shell h2,
.contact-plain .inquiry-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.contact-plain .newsletter-form h2 {
  white-space: nowrap;
}

.services-page .home-band:last-child,
.about-page .about-intro,
.contact-page .contact {
  padding-bottom: 90px;
}

.services-page > .home-band:first-child,
.contact-page .contact {
  padding-top: 48px;
}

.newsletter-strip {
  width: 100%;
  margin: 0;
  padding: 0;
}

.newsletter-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
}

.newsletter-copy .kicker {
  color: var(--accent-2);
}

.newsletter-copy {
  align-self: center;
  display: grid;
  gap: 6px;
  max-width: 300px;
}

.newsletter-form h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.newsletter-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(136px, 0.85fr) auto;
  gap: 14px;
  align-items: end;
}

.newsletter-actions {
  display: flex;
  align-items: stretch;
  align-self: end;
}

.newsletter-fields label {
  min-width: 0;
}

.newsletter-fields label span {
  display: block;
  margin-bottom: 8px;
}

.newsletter-fields input {
  min-height: 52px;
}

.newsletter-captcha-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.newsletter-turnstile {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(244, 239, 231, 0.85);
  border-radius: 16px;
  overflow: hidden;
}

.newsletter-turnstile[hidden] {
  display: none;
}

.newsletter-turnstile > div {
  max-width: 100%;
}

.newsletter-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.newsletter-form input,
.newsletter-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.newsletter-form textarea {
  height: 44px;
  resize: none;
}

.newsletter-form .button-primary {
  min-height: 44px;
  border: 0;
  white-space: nowrap;
  margin-left: auto;
  padding-inline: 24px;
}

.newsletter-form .button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.2);
}

.form-status {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-inner {
  width: 100%;
  margin: 0;
  padding: 22px 0 0;
}

.contact-shell {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 233, 0.92));
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: 34px;
  align-items: center;
}

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

.contact-shell-compact .contact-copy {
  max-width: 720px;
}

.contact-copy {
  align-self: center;
  display: grid;
  gap: 8px;
  transform: none;
}

.contact .kicker {
  color: var(--accent-2);
}

.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

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

.contact-card {
  min-height: 92px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(31, 111, 139, 0.26);
  background: #ffffff;
  transform: translateY(-2px);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(23, 23, 23, 0.14);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card strong {
  font-size: 17px;
  margin-top: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 40;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  padding: 10px 16px;
  font-size: 14px;
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.article-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 680;
}

.article-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 34px;
}

.article-cover {
  position: relative;
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.article-head h1 {
  margin: 10px 0 12px;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.article-body h1 {
  display: none;
}

.article-body h2 {
  margin: 42px 0 14px;
  font-size: 25px;
  line-height: 1.32;
  letter-spacing: 0;
}

.article-body h3 {
  margin: 30px 0 10px;
  font-size: 20px;
  line-height: 1.36;
  letter-spacing: 0;
}

.article-body p,
.article-body li,
.article-body blockquote {
  font-size: 18px;
}

.article-body strong {
  font-weight: 780;
}

.article-body ul {
  padding-left: 1.3em;
}

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

.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}

.article-end-actions {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.home-band,
.page-hero,
.contact {
  max-width: 1120px;
  margin: 0 auto;
  padding: 78px 24px 0;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 46px;
  align-items: start;
}

.about-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(242, 239, 231, 0.92)),
    linear-gradient(135deg, rgba(31, 111, 139, 0.08), transparent 48%);
  box-shadow: 0 12px 28px rgba(38, 31, 24, 0.07);
}

.about-photo-frame span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 42px;
  font-weight: 760;
}

.about-copy {
  display: grid;
  gap: 22px;
}

.about-body {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
}

.about-body p {
  margin: 0;
}

.section-heading-left {
  max-width: 820px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-heading-left::after {
  margin-left: 0;
  margin-right: 0;
}

.service-grid,
.audience-grid,
.industry-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.case-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.simple-section-title {
  margin: 0 0 24px;
  text-align: center;
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 760;
  line-height: 1.16;
}

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

.service-card,
.audience-card,
.industry-card,
.package-card,
.case-card,
.process-step,
.page-hero-panel,
.inquiry-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 241, 233, 0.9)),
    linear-gradient(90deg, rgba(31, 111, 139, 0.06), transparent);
  box-shadow: 0 12px 28px rgba(38, 31, 24, 0.07);
}

.service-card,
.audience-card,
.industry-card,
.package-card,
.case-card {
  padding: 24px;
}

.service-card h3,
.audience-card h3,
.industry-card h3,
.package-card h3,
.case-card h3,
.process-step h3,
.inquiry-copy h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.service-card p,
.audience-card p,
.industry-card p,
.package-card p,
.case-card p,
.process-step p,
.page-hero-copy p,
.inquiry-copy p {
  margin: 0;
  color: var(--muted);
}

.case-card {
  display: grid;
  gap: 20px;
  min-height: 226px;
  align-content: space-between;
}

.case-index-card,
.case-index-page .case-card {
  padding: 0;
  overflow: hidden;
  align-content: stretch;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.case-index-card:hover,
.case-index-page .case-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.case-preview {
  position: relative;
  min-height: 176px;
  height: 176px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  background:
    linear-gradient(135deg, rgba(31, 111, 139, 0.18), transparent 42%),
    linear-gradient(160deg, #f8f4ed 0%, #ffffff 52%, #e7eef0 100%);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.case-preview.has-image {
  padding: 0;
  overflow: hidden;
  background: #101010;
}

.case-preview.has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-preview.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.08), rgba(16, 16, 16, 0.42));
  pointer-events: none;
}

.case-preview-label {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.case-preview.has-image .case-preview-label {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(255, 255, 255, 0.94);
}

.case-preview strong {
  max-width: 260px;
  font-family: Georgia, "Times New Roman", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 25px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.case-index-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.case-index-card .case-card-copy {
  padding: 22px 22px 0;
}

.case-index-card .read-more {
  margin: 0 22px 22px;
  display: inline-flex;
}

.case-card-copy {
  display: grid;
  gap: 10px;
}

.case-label {
  margin: 0;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.read-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 780;
  justify-self: start;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.read-more-button:hover {
  color: var(--ink);
  transform: translateX(2px);
}

.two-column-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.two-column-band h2,
.page-hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

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

.process-step {
  padding: 22px 20px;
}

.process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 760;
}

.note-spotlight .article-card {
  margin-bottom: 22px;
}

.center-actions {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.section-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 2px 6px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
}

.section-more-link span {
  transition: transform 0.2s ease;
}

.section-more-link:hover span {
  transform: translateX(3px);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.compact-page-hero {
  grid-template-columns: 1fr;
}

.page-hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.page-hero-panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 240, 0.96)),
    linear-gradient(90deg, rgba(31, 111, 139, 0.04), transparent);
}

.mini-list {
  display: grid;
  gap: 18px;
}

.mini-list div {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mini-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mini-list strong,
.package-head span {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.package-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

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

.contact-copy {
  display: grid;
  gap: 12px;
}

.inquiry-panel {
  margin: 22px 0 0;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 245, 239, 0.98)),
    linear-gradient(90deg, rgba(31, 111, 139, 0.05), transparent);
}

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

.inquiry-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.94);
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.inquiry-form input,
.inquiry-form select {
  height: 50px;
}

.inquiry-form textarea {
  min-height: 140px;
  resize: vertical;
}

.inquiry-notes,
.inquiry-actions,
.inquiry-form .form-status {
  grid-column: 1 / -1;
}

.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.inquiry-actions .button-primary:hover,
.inquiry-actions .button-secondary:hover {
  transform: translateY(-1px);
}

.inquiry-actions .button-primary:hover {
  box-shadow: 0 18px 34px rgba(23, 23, 23, 0.2);
}

.inquiry-actions .button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-photo-frame {
    max-width: 420px;
    min-height: 320px;
  }

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

  .section-pills,
  .contact-inner,
  .article-list,
  .article-group-grid,
  .service-grid,
  .audience-grid,
  .industry-grid,
  .package-grid,
  .case-grid,
  .process-grid,
  .page-hero,
  .inquiry-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    grid-column: 1 / -1;
  }

  .two-column-band,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-grid > p {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 14px 24px;
    gap: 10px 14px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .header-actions {
    display: contents;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .language-switcher {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }

  .language-switcher select {
    min-width: 112px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 44px;
    padding-bottom: 46px;
    gap: 34px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 12px;
  }

  .button-primary,
  .button-secondary {
    min-height: 48px;
    width: 100%;
    padding: 0 18px;
  }

  .hero-panel {
    min-height: auto;
    padding: 22px;
  }

  .section-heading h2 {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .section-heading p {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-pills,
  .article-search-panel,
  .article-group-head,
  .article-group-grid,
  .service-grid,
  .audience-grid,
  .industry-grid,
  .package-grid,
  .case-grid,
  .process-grid,
  .page-hero,
  .newsletter-form,
  .newsletter-fields,
  .contact-shell,
  .contact-inner,
  .contact-actions,
  .inquiry-panel,
  .inquiry-form,
  .article-list {
    grid-template-columns: 1fr;
  }

  .case-index-page .section-pills {
    grid-template-columns: 1fr;
  }

  .newsletter-strip {
    padding: 24px 20px 0;
  }

  .article-search-panel {
    padding: 22px 20px;
  }

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

  .search-meta {
    justify-content: space-between;
  }

  .article-group {
    padding: 22px 20px;
    scroll-margin-top: 124px;
  }

  .contact-stack {
    padding: 0 0 38px;
  }

  .contact-inner {
    padding: 22px 20px 0;
  }

  .inquiry-panel {
    margin: 22px 20px 0;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .contact-plain .newsletter-form,
  .contact-plain .contact-shell,
  .contact-plain .inquiry-panel {
    grid-template-columns: 1fr;
  }

  .contact-plain .newsletter-form,
  .contact-plain .contact-shell,
  .contact-plain .inquiry-panel {
    padding: 22px 20px;
  }

  .newsletter-copy {
    max-width: none;
  }

  .contact-plain .newsletter-form h2 {
    white-space: normal;
    overflow-wrap: anywhere;
  }

	  .newsletter-fields {
	    grid-template-columns: 1fr;
	  }

	  .contact-plain .newsletter-field-row {
	    grid-template-columns: 1fr;
	  }

  .newsletter-actions {
    justify-content: stretch;
  }

  .newsletter-captcha-row {
    justify-content: stretch;
  }

  .newsletter-form .button-primary {
    width: 100%;
    margin-left: 0;
  }

  .form-status {
    grid-column: auto;
  }

  .contact-card {
    min-height: 124px;
  }
}
