/* New visual system for keyword 14. Five independent compositions. */
* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --paper: #f5f3eb;
  --surface: #fffef8;
  --ink: #173b30;
  --muted: #627267;
  --line: #d8dfd1;
  --accent: #d9eea7;
  --strong: #143c30;
  --on-strong: #fff;
  --radius: 4px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
html.modal-open {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
body,
button,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a,
summary {
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3 {
  line-height: 1.35;
  margin-top: 0;
  overflow-wrap: anywhere;
}
h1 {
  text-wrap: balance;
  font-size: clamp(32px, 4.2vw, 62px);
  letter-spacing: -0.055em;
  margin-bottom: 25px;
}
h2 {
  font-size: clamp(25px, 2.6vw, 36px);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 45px;
  height: 45px;
}
.brand strong {
  display: block;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.brand small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-top: 5px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 21px;
  font-size: 13px;
}
.desktop-nav a {
  text-decoration: none;
  padding-block: 9px;
}
.desktop-nav a[aria-current] {
  border-bottom: 2px solid currentColor;
  font-weight: 700;
}
.nav-menu {
  display: none;
  position: relative;
}
.nav-menu summary {
  cursor: pointer;
  padding: 8px 13px;
  border: 1px solid var(--line);
  list-style: none;
}
.nav-menu nav {
  position: absolute;
  right: 0;
  top: 52px;
  padding: 14px;
  background: var(--surface);
  width: 220px;
  box-shadow: 0 14px 25px #0002;
  z-index: 50;
  border: 1px solid var(--line);
}
.nav-menu a {
  display: block;
  padding: 9px 13px;
  text-decoration: none;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
}
.hero {
  padding-block: 62px 66px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .lead {
  font-size: 16px;
  max-width: 620px;
  color: var(--muted);
}
.hero h1 .title-brand {
  display: block;
  font-size: 0.76em;
  letter-spacing: -0.035em;
  margin-bottom: 0.15em;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  border: 1px solid var(--strong);
  background: var(--strong);
  color: var(--on-strong);
  padding: 13px 22px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
  line-height: 1.5;
}
.btn:hover {
  filter: brightness(0.93);
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.version {
  display: inline-block;
  font-size: 11px;
  margin-top: 27px;
  color: var(--muted);
}
.contact-card {
  background: var(--strong);
  color: var(--on-strong);
  padding: 38px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: "HH";
  position: absolute;
  right: -12px;
  top: 32px;
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.04;
  pointer-events: none;
}
.contact-card .eyebrow {
  color: inherit;
  opacity: 0.75;
}
.contact-card h2 {
  font-size: 23px;
  max-width: 340px;
  margin-bottom: 26px;
}
.contact-row {
  border-top: 1px solid #ffffff30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}
.contact-row span {
  font-size: 12px;
}
.contact-row strong {
  font-size: clamp(23px, 2.6vw, 34px);
  font-family: "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}
.contact-card .btn {
  margin-top: 10px;
  background: var(--accent);
  border-color: var(--accent);
  color: #15392c;
  width: 100%;
}
.contact-note {
  font-size: 12px;
  line-height: 1.8;
  margin: 20px 0 0;
  opacity: 0.78;
  overflow-wrap: anywhere;
}
.intent-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intent-strip a {
  display: flex;
  justify-content: space-between;
  padding: 22px;
  font-size: 13px;
  text-decoration: none;
  gap: 15px;
  border-right: 1px solid var(--line);
}
.intent-strip a:last-child {
  border: 0;
}
.section {
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}
.section-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
}
.section-number {
  font-size: 11px;
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.section-body {
  min-width: 0;
}
.section-body > p {
  color: var(--muted);
  max-width: 78ch;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-block: 24px;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}
.info-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: steps;
}
.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.steps li::before {
  content: counter(steps, decimal-leading-zero);
  font-size: 14px;
  color: var(--muted);
}
.steps li p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding-right: 18px;
}
.faq-item p {
  font-size: 14px;
  color: var(--muted);
  padding-top: 16px;
  margin: 0;
}
.related {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 13px;
}
.gallery-header {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
}
.gallery-header p {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 32px;
}
.gallery-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px 30px 22px;
  border-radius: var(--radius);
}
.gallery-grid img {
  max-height: 480px;
  width: 100%;
  object-fit: contain;
}
.gallery-grid figcaption {
  font-size: 13px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.gallery-grid figcaption span {
  color: var(--muted);
  font-size: 11px;
}
.closing {
  padding-block: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.closing h2 {
  max-width: 700px;
  font-size: 27px;
  margin: 0 0 10px;
}
.closing p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}
.footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
  font-size: 12px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer p {
  margin: 0;
  color: var(--muted);
}
.breadcrumb {
  padding-block: 25px;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb a {
  text-decoration: none;
}
.article-head {
  padding-block: 25px 50px;
  max-width: 890px;
}
.article-head .lead {
  font-size: 17px;
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 65px;
  align-items: start;
}
.article-aside {
  position: sticky;
  top: 24px;
  border-top: 3px solid var(--ink);
  padding-top: 20px;
}
.article-aside span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}
.article-aside a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  text-decoration: none;
}
.article-aside .btn {
  margin-top: 18px;
  width: 100%;
}
.article-body .section {
  padding-block: 40px;
}
.article-body .section:first-child {
  padding-top: 0;
}
.article-body .section-grid {
  display: block;
}
.article-body h2 {
  font-size: 27px;
}
.article-body .section-number {
  margin-bottom: 12px;
}
.article-body .section-body > p {
  font-size: 16px;
}
.mobile-bar {
  display: none;
}
dialog {
  border: 0;
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  padding: 32px;
  width: min(480px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  overflow: auto;
  box-shadow: 0 20px 80px #0004;
}
dialog::backdrop {
  background: #0b1817b8;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-top h2 {
  font-size: 24px;
  margin: 0;
}
.close {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 50%;
  min-width: 40px;
  min-height: 40px;
}
.dialog-description {
  color: var(--muted);
  font-size: 14px;
}
.copy-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.copy-row strong {
  display: block;
  font-size: 24px;
  font-family: "Segoe UI", sans-serif;
}
.copy-row span {
  font-size: 12px;
}
.copy-row button {
  font-size: 12px;
  padding: 9px 12px;
  flex-shrink: 0;
}
.reminder {
  font-size: 13px;
  margin: 22px 0 0;
  overflow-wrap: anywhere;
}
#copy-status {
  min-height: 26px;
  color: var(--ink);
  font-size: 13px;
  margin: 12px 0 0;
}
.copy-buffer {
  position: fixed;
  opacity: 0;
  width: 1px;
  height: 1px;
  left: 0;
  top: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
/* 02: nocturnal service desk, wide console and permanent desktop side rail. */
.theme-2 {
  color-scheme: dark;
  --paper: #0d172b;
  --surface: #16243d;
  --ink: #e9f2ff;
  --muted: #a9b9d3;
  --line: #2c405d;
  --accent: #a4d6ff;
  --strong: #b6dfff;
  --on-strong: #10203b;
  --radius: 2px;
}
.theme-2 .site-shell {
  padding-left: 96px;
}
.theme-2 .side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 96px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  gap: 36px;
}
.theme-2 .side-rail span {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.theme-2 .side-rail img {
  width: 44px;
}
.theme-2 .hero {
  padding-top: 38px;
}
.theme-2 .hero-console {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  border: 1px solid var(--line);
  padding: 48px;
  background: linear-gradient(140deg, #1c304e, #111f36);
}
.theme-2 h1 {
  font-size: clamp(32px, 3.6vw, 54px);
  letter-spacing: -0.04em;
}
.theme-2 .contact-card {
  background: #091426;
  color: var(--ink);
  padding: 25px;
  border-top: 3px solid var(--accent);
}
.theme-2 .contact-card .btn {
  background: #a4d6ff;
}
.theme-2 .contact-card .eyebrow {
  color: var(--muted);
}
.theme-2 .intent-strip {
  margin-top: 26px;
}
.theme-2 .section-grid {
  grid-template-columns: 260px 1fr;
  gap: 50px;
}
.theme-2 .info-card {
  background: transparent;
  border-left: 3px solid var(--accent);
}
.theme-2 .gallery-grid {
  gap: 22px;
}
.theme-2 .gallery-grid figure {
  background: #111d33;
}
.theme-2 .gallery-grid figure:nth-child(2) {
  transform: translateY(25px);
}
.theme-2 .article-head {
  max-width: 100%;
  padding: 35px;
  margin-bottom: 44px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
}
.theme-2 .article-layout {
  grid-template-columns: minmax(0, 1fr) 200px;
}
.theme-2 .article-aside {
  grid-column: 2;
  grid-row: 1;
}
.theme-2 .article-body {
  grid-column: 1;
  grid-row: 1;
}
/* 03: red and cream editorial, oversized numerals and long reading columns. */
.theme-3 {
  --paper: #f4efe6;
  --surface: #fffaf1;
  --ink: #30251e;
  --muted: #78685f;
  --line: #cec0b2;
  --accent: #eedbc3;
  --strong: #a33623;
  --on-strong: #fffaf1;
  --radius: 0;
}
.theme-3 .header-inner {
  border-bottom: 3px solid var(--ink);
}
.theme-3 .site-header {
  border-bottom: 0;
}
.theme-3 .brand strong {
  font-family: Georgia, serif;
  font-size: 28px;
}
.theme-3 .hero-magazine {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: start;
}
.theme-3 .issue-line {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 32px;
  font-size: 11px;
  letter-spacing: 0.15em;
}
.theme-3 h1 {
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 66px);
}
.theme-3 .contact-card {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 26px;
}
.theme-3 .contact-card h2 {
  font-family: Georgia, "SimSun", serif;
}
.theme-3 .contact-row {
  border-color: var(--line);
}
.theme-3 .contact-row strong {
  color: var(--strong);
}
.theme-3 .contact-card .btn {
  background: var(--strong);
  color: var(--on-strong);
  border-color: var(--strong);
}
.theme-3 .intent-strip {
  margin-top: 36px;
}
.theme-3 .section-grid {
  grid-template-columns: 1fr 1.4fr;
  gap: 65px;
}
.theme-3 .section-number {
  font-size: 46px;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--strong);
}
.theme-3 .cards {
  display: block;
}
.theme-3 .info-card {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  background: transparent;
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 20px;
}
.theme-3 .info-card h3 {
  font-size: 17px;
}
.theme-3 .gallery-grid {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.theme-3 .gallery-grid figure {
  border: 0;
  background: var(--paper);
}
.theme-3 .article-head {
  max-width: 100%;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 40px;
}
.theme-3 .article-layout {
  grid-template-columns: 175px minmax(0, 1fr);
  max-width: 1020px;
}
/* 04: a bright question directory, centered opening and rounded bento cards. */
.theme-4 {
  --paper: #f3f0ff;
  --surface: #fff;
  --ink: #35234e;
  --muted: #776586;
  --line: #ded5ed;
  --accent: #ffd7b5;
  --strong: #62458b;
  --on-strong: #fff;
  --radius: 22px;
}
.theme-4 .site-header {
  border: 0;
  padding-top: 20px;
}
.theme-4 .header-inner {
  min-height: 82px;
  border-radius: 60px;
  background: #fff;
  padding: 16px 25px;
}
.theme-4 .hero-center {
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}
.theme-4 .hero-center h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(32px, 4vw, 58px);
}
.theme-4 .hero-center .lead {
  max-width: 720px;
  margin-inline: auto;
}
.theme-4 .hero-center .actions {
  justify-content: center;
}
.theme-4 .contact-card {
  text-align: left;
  max-width: 780px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 50px #61418b10;
}
.theme-4 .contact-card > .eyebrow,
.theme-4 .contact-card h2 {
  grid-column: 1 / -1;
}
.theme-4 .contact-card h2 {
  max-width: none;
  font-size: 20px;
}
.theme-4 .contact-card .contact-row {
  border-color: var(--line);
}
.theme-4 .contact-card .btn {
  grid-column: 1;
}
.theme-4 .contact-note {
  margin-top: 10px;
  align-self: center;
}
.theme-4 .section {
  border: 0;
  padding-block: 40px;
}
.theme-4 .section-grid {
  grid-template-columns: 300px 1fr;
  gap: 46px;
}
.theme-4 .cards {
  gap: 22px;
}
.theme-4 .info-card {
  padding: 28px;
  border: 0;
  box-shadow: 0 5px 20px #62458b06;
}
.theme-4 .info-card:nth-child(2n) {
  background: #ffeadb;
}
.theme-4 .intent-strip {
  border: 0;
  gap: 15px;
  margin-top: 35px;
}
.theme-4 .intent-strip a {
  border: 0;
  background: #e6dff6;
  border-radius: 16px;
}
.theme-4 .gallery-grid figure {
  border: 0;
  padding-inline: 32px;
}
.theme-4 .gallery-grid figure:nth-child(2) {
  background: #ffeadb;
}
.theme-4 .article-head {
  text-align: center;
  margin-inline: auto;
}
.theme-4 .article-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.theme-4 .article-aside {
  position: static;
  border: 0;
  border-radius: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px;
  background: #fff;
  width: 100%;
  align-items: center;
}
.theme-4 .article-aside a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.theme-4 .article-aside span {
  margin: 0 10px;
}
.theme-4 .article-aside .btn {
  width: auto;
  margin: 0;
}
.theme-4 .article-body {
  width: 100%;
}
.theme-4 .article-body .section-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
}
/* 05: graphite and mint index; bordered matrix and asymmetrical inquiry panel. */
.theme-5 {
  --paper: #e9edeb;
  --surface: #f7faf8;
  --ink: #162a28;
  --muted: #5e706d;
  --line: #b9c7c1;
  --accent: #97ead2;
  --strong: #172e2b;
  --on-strong: #ecfff7;
  --radius: 0;
}
.theme-5 .header-inner {
  min-height: 85px;
}
.theme-5 .hero-index {
  display: grid;
  grid-template-columns: 0.45fr 1fr 0.75fr;
  border: 1px solid var(--line);
}
.theme-5 .hero-side {
  padding: 30px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
}
.theme-5 .hero-side .large-mark {
  font-size: 90px;
  font-family: Georgia, serif;
  letter-spacing: -0.08em;
  line-height: 1;
}
.theme-5 .hero-copy {
  padding: 32px;
}
.theme-5 h1 {
  font-size: clamp(30px, 3vw, 46px);
}
.theme-5 .contact-card {
  padding: 28px;
}
.theme-5 .contact-card h2 {
  font-size: 19px;
}
.theme-5 .contact-row {
  flex-wrap: wrap;
  gap: 0;
}
.theme-5 .contact-row strong {
  width: 100%;
}
.theme-5 .section-grid {
  grid-template-columns: 1fr;
  gap: 5px;
}
.theme-5 .section-title {
  display: flex;
  align-items: baseline;
  gap: 30px;
}
.theme-5 .section-number {
  font-size: 15px;
}
.theme-5 .section-body {
  max-width: 100%;
}
.theme-5 .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.theme-5 .info-card {
  border: 0;
}
.theme-5 .gallery-grid {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.theme-5 .gallery-grid figure {
  background: #d8e4df;
}
.theme-5 .gallery-grid figcaption {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.theme-5 .article-head {
  border-left: 10px solid var(--strong);
  padding-left: 30px;
}
.theme-5 .article-aside {
  border: 1px solid var(--line);
  padding: 20px;
  background: var(--surface);
}
.theme-5 .article-layout {
  grid-template-columns: 230px 1fr;
  gap: 40px;
}
.theme-5 .article-body .cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .desktop-nav {
    gap: 13px;
    font-size: 12px;
  }
  .hero-grid {
    gap: 32px;
  }
  .theme-2 .hero-console {
    grid-template-columns: 1fr 310px;
    padding: 30px;
    gap: 28px;
  }
  .theme-5 .hero-index {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .theme-5 .hero-side {
    display: none;
  }
  .section-grid,
  .theme-2 .section-grid,
  .theme-3 .section-grid,
  .theme-4 .section-grid {
    grid-template-columns: 1fr 1.8fr;
    gap: 35px;
  }
  .gallery-grid {
    gap: 20px;
  }
  .gallery-grid figure {
    padding-inline: 20px;
  }
}
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .nav-menu {
    display: block;
  }
  .hero-grid,
  .theme-3 .hero-magazine,
  .theme-2 .hero-console {
    grid-template-columns: 1fr;
  }
  .theme-2 .side-rail {
    width: 68px;
  }
  .theme-2 .site-shell {
    padding-left: 68px;
  }
  .theme-2 .hero-console .contact-card {
    max-width: 100%;
  }
  .theme-5 .hero-index {
    grid-template-columns: 1fr 1fr;
  }
  .article-layout,
  .theme-2 .article-layout,
  .theme-3 .article-layout,
  .theme-5 .article-layout {
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 30px;
  }
  .theme-2 .article-aside {
    grid-column: 1;
  }
  .theme-2 .article-body {
    grid-column: 2;
  }
  .theme-4 .article-body .section-grid {
    grid-template-columns: 1fr;
  }
  .theme-5 .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 18px;
  }
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    font-size: 15px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 85px;
  }
  .brand strong {
    font-size: 21px;
  }
  .brand small {
    font-size: 9px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand {
    gap: 10px;
  }
  .hero {
    padding-block: 34px 38px;
  }
  h1 {
    font-size: clamp(31px, 7.8vw, 45px);
    letter-spacing: -0.045em;
  }
  h2 {
    font-size: 27px;
  }
  .hero-grid {
    gap: 32px;
  }
  .hero-copy .lead,
  .article-head .lead {
    font-size: 15px;
  }
  .contact-card {
    padding: 25px;
  }
  .contact-row strong {
    font-size: 29px;
  }
  .intent-strip {
    grid-template-columns: 1fr;
  }
  .intent-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
  }
  .section {
    padding-block: 40px;
  }
  .section-grid,
  .theme-2 .section-grid,
  .theme-3 .section-grid,
  .theme-4 .section-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .section-number {
    margin-bottom: 12px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .info-card {
    padding: 21px;
  }
  .gallery-header {
    display: block;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-grid figure {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 20px;
    padding: 22px;
  }
  .gallery-grid img {
    max-height: 410px;
  }
  .gallery-grid figcaption {
    display: block;
    margin: 0;
  }
  .gallery-grid figcaption span {
    display: block;
    margin-top: 12px;
  }
  .closing {
    padding-block: 35px;
    display: block;
  }
  .closing .btn {
    margin-top: 22px;
  }
  .closing h2 {
    font-size: 25px;
  }
  .footer {
    padding-block: 28px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 12px 22px;
  }
  .mobile-bar {
    display: flex;
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: var(--surface);
    color: var(--ink);
    border-top: 1px solid var(--line);
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -5px 26px #00000008;
  }
  .mobile-bar strong {
    display: block;
    font-size: 17px;
    line-height: 1.35;
  }
  .mobile-bar span {
    display: block;
    font-size: 10px;
    color: var(--muted);
  }
  .mobile-bar .btn {
    font-size: 13px;
    padding: 12px 18px;
    flex-shrink: 0;
    min-height: 44px;
  }
  .breadcrumb {
    padding-block: 22px 14px;
  }
  .article-head {
    padding-block: 15px 30px;
  }
  .article-layout,
  .theme-2 .article-layout,
  .theme-3 .article-layout,
  .theme-5 .article-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .article-aside {
    position: static;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--line);
  }
  .article-aside a {
    display: inline-block;
    margin-right: 18px;
  }
  .article-aside .btn {
    width: auto;
    margin-top: 10px;
    display: inline-flex;
  }
  .article-body {
    width: 100%;
  }
  .article-body .section {
    padding-block: 30px;
  }
  .article-body h2 {
    font-size: 25px;
  }
  .theme-2 .site-shell {
    padding: 0;
  }
  .theme-2 .side-rail {
    display: none;
  }
  .theme-2 .hero-console {
    padding: 25px;
    gap: 28px;
  }
  .theme-2 h1 {
    font-size: 34px;
  }
  .theme-2 .intent-strip {
    margin-top: 18px;
  }
  .theme-2 .gallery-grid figure:nth-child(2) {
    transform: none;
  }
  .theme-2 .article-head {
    padding: 24px;
    margin-bottom: 25px;
  }
  .theme-2 .mobile-bar {
    background: #16243d;
  }
  .theme-3 .hero-magazine {
    gap: 28px;
  }
  .theme-3 .section-number {
    font-size: 34px;
  }
  .theme-3 .info-card {
    display: block;
  }
  .theme-3 .intent-strip {
    margin-top: 25px;
  }
  .theme-3 .mobile-bar {
    border-top: 3px solid var(--strong);
  }
  .theme-4 .header-inner {
    border-radius: 18px;
    padding: 16px;
  }
  .theme-4 .site-header {
    padding-top: 12px;
  }
  .theme-4 .hero-center {
    text-align: left;
  }
  .theme-4 .hero-center .actions {
    justify-content: flex-start;
  }
  .theme-4 .contact-card {
    display: block;
    padding: 24px;
    margin-top: 28px;
  }
  .theme-4 .contact-note {
    margin-top: 18px;
  }
  .theme-4 .intent-strip {
    margin-top: 24px;
    gap: 10px;
  }
  .theme-4 .intent-strip a {
    padding: 17px;
  }
  .theme-4 .section {
    padding-block: 30px;
  }
  .theme-4 .article-head {
    text-align: left;
  }
  .theme-4 .article-aside {
    display: block;
    padding: 17px;
  }
  .theme-4 .article-aside span {
    margin: 0 0 10px;
  }
  .theme-4 .article-aside a {
    margin: 5px 5px 5px 0;
    padding: 6px 10px;
    font-size: 12px;
  }
  .theme-4 .mobile-bar {
    border-radius: 22px 22px 0 0;
  }
  .theme-5 .hero-index {
    grid-template-columns: 1fr;
  }
  .theme-5 .hero-copy {
    padding: 25px;
  }
  .theme-5 h1 {
    font-size: 34px;
  }
  .theme-5 .contact-row {
    flex-wrap: nowrap;
    gap: 18px;
  }
  .theme-5 .contact-row strong {
    width: auto;
  }
  .theme-5 .section-title {
    gap: 20px;
  }
  .theme-5 .cards,
  .theme-5 .article-body .cards {
    grid-template-columns: 1fr;
  }
  .theme-5 .gallery-grid {
    grid-template-columns: 1fr;
  }
  .theme-5 .article-head {
    padding-left: 20px;
    border-left-width: 5px;
  }
  .theme-5 .mobile-bar {
    background: var(--strong);
    color: var(--on-strong);
  }
  .theme-5 .mobile-bar span {
    color: #bdd1ca;
  }
  .theme-5 .mobile-bar .btn {
    background: var(--accent);
    color: #18352c;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .brand small {
    letter-spacing: 0.03em;
  }
  .nav-menu summary {
    font-size: 12px;
    padding: 7px 9px;
  }
  .contact-card,
  .theme-2 .hero-console,
  .theme-5 .hero-copy {
    padding: 20px;
  }
  .contact-row {
    gap: 10px;
  }
  .contact-row strong,
  .theme-5 .contact-row strong {
    font-size: 26px;
  }
  .gallery-grid figure {
    padding: 18px;
    gap: 16px;
  }
  dialog {
    padding: 22px;
  }
  .copy-row {
    padding: 13px;
  }
  .copy-row strong {
    font-size: 22px;
  }
  .mobile-bar {
    padding-inline: 14px;
    gap: 10px;
  }
  .mobile-bar .btn {
    padding-inline: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
