@font-face {
  font-family: "YX Serif";
  src: url("../fonts/yaxing-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YX Serif";
  src: url("../fonts/yaxing-serif-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1b2622;
  --ink-soft: #2f3c36;
  --paper: #f5f1e8;
  --paper-2: #ebe4d6;
  --surface: #fbf8f1;
  --line: #d8d0c1;
  --muted: #6e756d;
  --accent: #b4472c;
  --accent-dark: #8d3120;
  --accent-soft: #e6c8ba;
  --white: #fffdf7;
  --serif: "YX Serif", "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

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

.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;
}

.icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: #c9c1b2;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 36px;
}

.topbar p {
  color: #c9c1b2;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.topbar a:hover {
  color: var(--white);
}

.topbar .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: #c98b6f;
  vertical-align: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 248, 241, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(27, 38, 34, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand-seal {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--accent);
  color: var(--white);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px rgba(255, 253, 247, 0.5);
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.19em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1px;
}

.nav a {
  position: relative;
  padding: 11px 13px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.nav a::after {
  position: absolute;
  right: 13px;
  bottom: 3px;
  left: 13px;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

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

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

.nav .nav-cta {
  margin-left: 12px;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 13.5px;
}

.nav .nav-cta::after {
  display: none;
}

.nav .nav-cta:hover {
  background: var(--accent);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: transform 0.2s ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -5px;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 5px;
}

/* ---------- type & buttons ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
  flex: 0 0 auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.35rem, 4.8vw, 4.15rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.85rem);
  line-height: 1.3;
}

.lead {
  max-width: 640px;
  margin-top: 24px;
  color: #4d5851;
  font-size: clamp(15.5px, 1.45vw, 17.5px);
  line-height: 1.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn .arrow {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.text-link:hover {
  color: var(--accent);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7.5vw, 94px) 0 clamp(68px, 8vw, 102px);
  background:
    linear-gradient(90deg, rgba(27, 38, 34, 0.038) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(rgba(27, 38, 34, 0.038) 1px, transparent 1px) 0 0 / 78px 78px,
    var(--paper);
}

.hero::after {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(180, 71, 44, 0.17);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(42px, 6vw, 80px);
}

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

.hero .lead {
  max-width: 590px;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 590px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.hero-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts dt {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-facts dd {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.hero-media {
  position: relative;
  padding: 0 0 38px 26px;
}

.hero-photo {
  border: 1px solid var(--ink);
  background: var(--ink);
  box-shadow: 16px 16px 0 rgba(180, 71, 44, 0.16);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.92);
}

.hero-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(300px, 82%);
  padding: 19px 21px 18px;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 7px 7px 0 var(--ink);
}

.hero-card-label {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero-card ul {
  display: grid;
  gap: 4px;
  margin: 9px 0 11px;
  padding: 0;
  list-style: none;
  color: #3e4943;
  font-size: 12.5px;
  line-height: 1.65;
}

.hero-card li::before {
  margin-right: 7px;
  color: var(--accent);
  content: "·";
}

.hero-card a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-card a:hover {
  color: var(--accent);
}

.hero-stamp {
  position: absolute;
  top: -24px;
  right: -12px;
  display: grid;
  width: 92px;
  height: 92px;
  place-content: center;
  border: 1px solid var(--accent);
  background: rgba(245, 241, 232, 0.65);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transform: rotate(4deg);
}

.hero-stamp span {
  display: block;
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* ---------- audience ---------- */
.audience {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.audience-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 72px;
}

.audience p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.audience ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.audience li::before {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 9px;
  background: var(--accent);
  content: "";
  vertical-align: 3px;
}

/* ---------- sections ---------- */
.section {
  padding: clamp(68px, 8.5vw, 108px) 0;
}

.section--surface {
  background: var(--surface);
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.section-head h2 {
  max-width: 760px;
}

.section-note {
  max-width: 420px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  justify-self: end;
}

.section-head--light h2 {
  color: var(--white);
}

.section-head--light .section-note {
  color: #bdb6a7;
}

/* ---------- categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cat-card {
  display: flex;
  min-height: 286px;
  flex-direction: column;
  padding: 27px 25px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.22s ease, color 0.22s ease;
}

.cat-card:hover {
  background: var(--ink);
  color: var(--white);
}

.cat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cat-icon {
  color: var(--accent);
}

.cat-no {
  color: #9a9e95;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.cat-card h3 {
  margin: 22px 0 8px;
  font-size: 23px;
  line-height: 1.3;
}

.cat-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.cat-link {
  margin-top: auto;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cat-card:hover p,
.cat-card:hover .cat-no {
  color: #bcb5a7;
}

.cat-card:hover .cat-link {
  color: var(--white);
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
}

.about-media {
  position: relative;
  padding: 0 0 18px 18px;
}

.about-media::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58%;
  height: 58%;
  background: var(--accent);
  content: "";
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--ink);
  object-fit: cover;
  filter: saturate(0.8) contrast(1.02);
}

.about-tag {
  position: absolute;
  right: -14px;
  bottom: 38px;
  z-index: 2;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--ink);
}

.about-tag strong {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.3;
}

.about-tag span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy p {
  margin-bottom: 15px;
  color: #4d5851;
  font-size: 14.5px;
  line-height: 1.95;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.check-list li::before {
  color: var(--accent);
  content: "—";
  flex: 0 0 auto;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 28px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.about-stats div {
  padding: 14px 17px;
  background: var(--paper);
}

.about-stats dt {
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.about-stats dd {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}

/* ---------- dark services ---------- */
.services {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.services::before {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(180, 71, 44, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.services .wrap {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(245, 241, 232, 0.2);
}

.service-item {
  padding: 28px 26px 10px 0;
  border-right: 1px solid rgba(245, 241, 232, 0.16);
}

.service-item + .service-item {
  padding-left: 26px;
}

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

.service-num {
  color: #c98b6f;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.service-item h3 {
  margin: 26px 0 12px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.35;
}

.service-item p {
  color: #bdb6a7;
  font-size: 13px;
  line-height: 1.85;
}

.services-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 241, 232, 0.16);
}

.services-foot p {
  color: #9e998c;
  font-size: 12.5px;
}

.services .text-link {
  border-color: #c98b6f;
  color: var(--white);
}

.services .text-link:hover {
  color: #e7b49e;
}

/* ---------- process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 25px 26px 8px 0;
  border-right: 1px solid var(--line);
}

.process-step + .process-step {
  padding-left: 26px;
}

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

.step-num {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.process-step h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

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

.process-note {
  margin-top: 26px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  color: #4d5851;
  font-size: 13px;
}

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.why-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 30px 38px 30px 0;
  border-bottom: 1px solid var(--line);
}

.why-item:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 42px;
}

.why-item:nth-child(even) {
  padding-left: 42px;
}

.why-icon {
  padding-top: 3px;
  color: var(--accent);
}

.why-item h3 {
  margin-bottom: 7px;
  font-size: 20px;
  line-height: 1.35;
}

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

/* ---------- scenes ---------- */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.scene-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 28px 27px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.scene-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.scene-icon {
  color: var(--accent);
}

.scene-tag {
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.scene-card h3 {
  margin: 34px 0 10px;
  font-size: 22px;
}

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

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

/* ---------- news ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  object-fit: cover;
  filter: saturate(0.82);
  transition: filter 0.2s ease;
}

.news-card:hover img {
  filter: saturate(1);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0 9px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.news-meta span:first-child {
  color: var(--accent);
  font-weight: 600;
}

.news-card h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.55;
}

.news-card h3 a:hover {
  color: var(--accent);
}

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

/* ---------- CTA ---------- */
.cta {
  padding: clamp(56px, 7vw, 82px) 0;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 44px;
}

.cta h2 {
  max-width: 760px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
}

.cta-phone {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta-phone:hover {
  color: var(--accent);
}

.cta-note {
  color: var(--muted);
  font-size: 11.5px;
}

/* ---------- footer ---------- */
.footer {
  background: #151f1c;
  color: #c5beb0;
  font-size: 13px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr 1.05fr;
  gap: 46px;
  padding: 62px 0 48px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.14);
}

.footer .brand {
  margin-bottom: 18px;
}

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

.footer .brand-text small {
  color: #8f9186;
}

.footer-about {
  max-width: 340px;
  color: #a8a99d;
  font-size: 12.5px;
  line-height: 1.9;
}

.footer h4 {
  margin-bottom: 17px;
  color: #8f9186;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.footer a:hover {
  color: var(--white);
}

.footer-contact li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.footer-contact .icon {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  color: #c98b6f;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 18px 0 22px;
  color: #85877c;
  font-size: 11.5px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-note {
  padding-bottom: 22px;
  color: #74766c;
  font-size: 11px;
}

/* ---------- inner page hero ---------- */
.page-hero {
  padding: 30px 0 clamp(44px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(27, 38, 34, 0.03) 1px, transparent 1px) 0 0 / 78px 78px,
    var(--paper);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 12px;
}

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

.breadcrumb .sep {
  color: #b1aa9d;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 44px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
}

.page-hero .lead {
  max-width: 720px;
  margin-top: 18px;
}

.page-aside {
  padding-top: 15px;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.page-aside strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

/* ---------- products page ---------- */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cat-nav a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
}

.cat-nav a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.product-cat {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 58px);
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 108px;
}

.product-cat:last-of-type {
  border-bottom: 0;
}

.cat-title .cat-num {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.cat-title h2 {
  margin: 9px 0 12px;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
}

.cat-title p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.item-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #3d4842;
  font-size: 13px;
  line-height: 1.5;
}

.tip {
  margin-top: 20px;
  padding: 13px 16px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  color: #4d5851;
  font-size: 12.5px;
  line-height: 1.8;
}

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

/* ---------- services page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 280px;
  gap: 30px;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 108px;
}

.service-detail:last-of-type {
  border-bottom: 0;
}

.service-detail .num {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.service-detail h2 {
  margin-bottom: 13px;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
}

.service-detail p {
  margin-bottom: 12px;
  color: #4d5851;
  font-size: 14px;
  line-height: 1.95;
}

.service-detail .service-meta {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.service-meta h3 {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.service-meta dl {
  display: grid;
  gap: 13px;
}

.service-meta dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.service-meta dd {
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- cases ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  padding: 30px 30px 28px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.case-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 3px 9px;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.case-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.case-block {
  margin-top: 14px;
}

.case-block strong {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}

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

/* ---------- article ---------- */
.article-hero {
  padding: 30px 0 42px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.article-hero h1 {
  max-width: 900px;
  font-size: clamp(2rem, 3.7vw, 3.15rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.article-meta .tag {
  color: var(--accent);
  font-weight: 600;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) 245px;
  justify-content: center;
  gap: clamp(40px, 6vw, 74px);
  padding: clamp(44px, 6vw, 68px) 0 clamp(56px, 7vw, 80px);
}

.article-body {
  color: #2d3833;
  font-size: 16px;
  line-height: 2;
}

.article-body > p:first-of-type {
  color: #3d4943;
  font-size: 17.5px;
  line-height: 1.95;
}

.article-body p {
  margin-bottom: 19px;
}

.article-body h2 {
  margin: 40px 0 14px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.45;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

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

.article-body li {
  margin-bottom: 7px;
}

.article-body li::marker {
  color: var(--accent);
}

.article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.9;
}

.article-body .note {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  line-height: 1.9;
}

.article-body .note strong {
  color: var(--accent);
}

.article-aside {
  position: sticky;
  top: 110px;
  align-self: start;
  padding-top: 15px;
  border-top: 2px solid var(--ink);
}

.article-aside h2 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.article-aside ul {
  display: grid;
  gap: 8px;
  margin: 13px 0 24px;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.7;
}

.article-aside a:hover {
  color: var(--accent);
}

.aside-cta {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.aside-cta p {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.8;
}

.aside-cta .text-link {
  font-size: 12px;
}

.related {
  padding: clamp(52px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.related h2 {
  margin-bottom: 28px;
  font-size: 1.5rem;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: clamp(34px, 5vw, 58px);
}

.contact-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 15px;
  padding: 19px 20px;
  background: var(--surface);
}

.contact-item .icon {
  width: 19px;
  height: 19px;
  margin-top: 4px;
  color: var(--accent);
}

.contact-item h3 {
  margin-bottom: 3px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-item p,
.contact-item a {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  color: #4d5851;
  font-size: 12.5px;
  line-height: 1.8;
}

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

.contact-form h2 {
  margin-bottom: 6px;
  font-size: 1.55rem;
}

.contact-form > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12.5px;
}

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

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
  color: #4d5851;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font-size: 13.5px;
  line-height: 1.5;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  outline: 0;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.form-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.form-status {
  margin-top: 12px;
  color: var(--accent);
  font-size: 12.5px;
}

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

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
}

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

.faq summary::after {
  color: var(--accent);
  content: "+";
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq .faq-a {
  padding: 0 0 19px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

/* ---------- sitemap page ---------- */
.sitemap-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.sitemap-group h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  font-size: 1.25rem;
}

.sitemap-group ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
}

.sitemap-group a:hover {
  color: var(--accent);
}

/* ---------- 404 ---------- */
.error-page {
  display: grid;
  min-height: 58vh;
  place-items: center;
  padding: 70px 0 90px;
  text-align: center;
}

.error-code {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(78px, 14vw, 170px);
  font-weight: 700;
  line-height: 0.9;
}

.error-page h1 {
  margin: 22px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.error-page p {
  max-width: 480px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 14px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .service-item:nth-child(n + 3) {
    padding-top: 28px;
    border-top: 1px solid rgba(245, 241, 232, 0.16);
  }

  .service-item:nth-child(3) {
    padding-left: 0;
  }

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(n + 3) {
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }

  .process-step:nth-child(3) {
    padding-left: 0;
  }

  .footer-main {
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
  }

  .footer-main > div:last-child {
    grid-column: 1 / -1;
  }

  .product-cat {
    grid-template-columns: 260px minmax(0, 1fr);
  }

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

@media (max-width: 900px) {
  .topbar-links span {
    display: none;
  }

  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 18px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 22px 30px rgba(27, 38, 34, 0.09);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 2px;
    border-bottom: 1px solid #e8e1d5;
    font-size: 15px;
  }

  .nav a::after {
    display: none;
  }

  .nav .nav-cta {
    margin: 14px 0 0;
    padding: 12px 16px;
    border-bottom: 0;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-media {
    max-width: 660px;
    padding-left: 20px;
  }

  .hero h1 {
    max-width: 700px;
  }

  .audience-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-note {
    max-width: 600px;
    justify-self: start;
  }

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

  .about-media {
    max-width: 680px;
  }

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

  .why-item:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .why-item:nth-child(even) {
    padding-left: 0;
  }

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

  .scene-card:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }

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

  .news-grid .news-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
  }

  .cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .cta-actions {
    align-items: flex-start;
  }

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

  .page-aside {
    max-width: 520px;
  }

  .product-cat {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-detail {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .service-detail .service-meta {
    grid-column: 2;
    max-width: 440px;
  }

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

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

  .article-aside {
    position: static;
    max-width: 520px;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-main > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 18px;
  }

  .topbar {
    font-size: 10.5px;
  }

  .topbar-inner {
    min-height: 32px;
  }

  .topbar-links {
    gap: 12px;
  }

  .brand-seal {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .brand-text small {
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 34px;
  }

  .hero-facts div {
    padding: 0 0 0 14px;
    border-left: 2px solid var(--accent-soft);
  }

  .hero-facts div:first-child {
    padding-left: 14px;
    border-left: 2px solid var(--accent-soft);
  }

  .hero-media {
    padding: 0 0 0 0;
  }

  .hero-photo {
    box-shadow: 8px 8px 0 rgba(180, 71, 44, 0.16);
  }

  .hero-card {
    position: relative;
    width: 100%;
    margin-top: 14px;
    box-shadow: none;
  }

  .hero-stamp {
    top: 12px;
    right: 10px;
    width: 76px;
    height: 76px;
    font-size: 19px;
  }

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

  .cat-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .cat-card h3 {
    margin-top: 16px;
  }

  .about-tag {
    right: 6px;
    bottom: 26px;
  }

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

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

  .service-item,
  .service-item + .service-item {
    padding: 24px 0;
    border-top: 1px solid rgba(245, 241, 232, 0.16);
    border-right: 0;
  }

  .service-item:first-child {
    border-top: 0;
  }

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

  .process-step,
  .process-step + .process-step {
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .process-step:first-child {
    border-top: 0;
  }

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

  .scene-card:last-child {
    grid-column: auto;
  }

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

  .news-grid .news-card:last-child {
    grid-column: auto;
    max-width: none;
  }

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

  .sitemap-groups {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 46px;
  }

  .footer-main > div:last-child {
    grid-column: auto;
  }

  .article-body {
    font-size: 15.5px;
  }

  .article-body > p:first-of-type {
    font-size: 16.5px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- shared content helpers ---------- */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 6vw, 78px);
}

.prose h2 {
  margin-bottom: 20px;
}

.prose p {
  margin-bottom: 15px;
  color: #4d5851;
  font-size: 14.5px;
  line-height: 1.95;
}

.prose .lead {
  max-width: 560px;
}

.callout {
  padding: 26px 27px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.callout > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.callout p {
  margin-bottom: 12px;
  color: #4d5851;
  font-size: 13.5px;
  line-height: 1.9;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout .text-link {
  margin-top: 2px;
}

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

.news-grid--two .news-card:last-child {
  grid-column: auto;
  max-width: none;
}

.news-grid--two .news-card h3 {
  font-size: 22px;
}

@media (max-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

@media (max-width: 640px) {
  .news-grid--two {
    grid-template-columns: 1fr;
  }
}

/* ---------- headline wrapping ---------- */
.hero h1,
.page-hero h1,
.article-hero h1,
h2,
.cat-card h3,
.scene-card h3,
.news-card h3,
.case-card h2 {
  text-wrap: balance;
}
