@charset "UTF-8";

/* =========================================================
   Mujiac.top
   ========================================================= */

:root {
  --page-width: 1120px;
  --content-width: 760px;

  --background-overlay: rgba(20, 17, 16, 0.48);
  --header-background: rgba(250, 248, 242, 0.93);
  --panel-background: rgba(250, 248, 242, 0.94);

  --text-color: #302b28;
  --subtext-color: #746d67;
  --line-color: rgba(69, 59, 53, 0.28);

  --light-color: #fffdf8;
  --accent-color: #967c68;
}

/* -------------------------
   基础重置
   ------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;

  color: var(--text-color);
  font-family:
    "Times New Roman",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Noto Serif CJK JP",
    "Songti SC",
    serif;

  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.045em;

  /*
   * /var/www/html/images/001.jpg
   * 在浏览器中对应 /images/001.jpg
   */
  background-color: #292421;
  background-image:
    linear-gradient(
      var(--background-overlay),
      var(--background-overlay)
    ),
    url("/images/001.jpg");

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* -------------------------
   页面外层
   ------------------------- */

.site-shell {
  width: min(var(--page-width), calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0 36px;
}

/* -------------------------
   顶部标题栏
   ------------------------- */

.site-header {
  position: relative;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 86px;
  padding: 0 42px;

  background: var(--header-background);
  border: 1px solid rgba(255, 255, 255, 0.6);

  box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(92, 77, 68, 0.08);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 网站名称 */

.site-logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;

  color: var(--text-color);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.site-logo::after {
  content: "MUJIAC.TOP";

  margin-top: 9px;

  color: var(--subtext-color);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.32em;
}

/* -------------------------
   导航栏
   ------------------------- */

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 46px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 31px 0 27px;

  color: #4a423d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.site-nav a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;

  width: 0;
  height: 1px;
  margin: auto;

  background: var(--accent-color);

  transition: width 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--accent-color);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  width: 100%;
}

/* -------------------------
   主页内容
   ------------------------- */

.site-main {
  padding: 70px 0 100px;
}

.page-section {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
}

/* Homepage 标题栏 */

.page-titlebar {
  margin-bottom: 18px;
  padding: 29px 38px 27px;

  color: var(--light-color);
text-align: center;

  background: rgba(40, 34, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.page-titlebar .eyebrow {
  margin: 0 0 10px;

  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.page-titlebar h1 {
  margin: 0;

  color: var(--light-color);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

/* -------------------------
   文本栏
   ------------------------- */

.text-panel {
  padding: 54px 64px 58px;

  background: var(--panel-background);
  border: 1px solid rgba(255, 255, 255, 0.68);

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(92, 77, 68, 0.06);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.text-panel h2 {
  position: relative;

  margin: 0 0 36px;
  padding: 0 0 22px;

  color: var(--text-color);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.075em;
  text-align: center;
}

.text-panel h2::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 50%;

  width: 42px;
  height: 1px;

  background: var(--accent-color);

  transform: translateX(-50%);
}

.text-panel p {
  margin: 0 0 24px;
}

.text-panel p:last-child {
  margin-bottom: 0;
}

.introduction {
  color: #4d4641;
  font-size: 17px;
  text-align: center;
}

.message {
  color: var(--subtext-color);
  text-align: center;
}

.contact-line {
  margin-top: 38px !important;
  padding-top: 26px;

  color: #514943;
  font-size: 14px;
  text-align: center;

  border-top: 1px solid var(--line-color);
}

.contact-line strong {
  margin-right: 6px;
  color: var(--text-color);
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* -------------------------
   页脚
   ------------------------- */

.site-footer {
  width: min(var(--content-width), 100%);
  margin: 28px auto 0;

  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

/* -------------------------
   键盘操作焦点
   ------------------------- */

a:focus-visible {
  outline: 1px solid var(--accent-color);
  outline-offset: 5px;
}

/* -------------------------
   平板适配
   ------------------------- */

@media screen and (max-width: 800px) {
  body {
    background-attachment: scroll;
  }

  .site-shell {
    width: min(100% - 30px, var(--page-width));
    padding-top: 22px;
  }

  .site-header {
    min-height: 76px;
    padding: 0 28px;
  }

  .site-nav ul {
    gap: 25px;
  }

  .site-nav a {
    padding-top: 27px;
    padding-bottom: 24px;
  }

  .site-nav a::after {
    bottom: 17px;
  }

  .site-main {
    padding-top: 46px;
  }

  .text-panel {
    padding: 45px 44px 49px;
  }
}

/* -------------------------
   手机适配
   ------------------------- */

@media screen and (max-width: 560px) {
  body {
    font-size: 15px;
    line-height: 1.75;
    background-position: center top;
  }

  .site-shell {
    width: calc(100% - 22px);
    padding: 11px 0 22px;
  }

  .site-header {
    display: block;
    min-height: 0;
    padding: 24px 20px 0;
  }

  .site-logo {
    align-items: center;
    font-size: 22px;
    text-align: center;
  }

  .site-nav {
    margin-top: 22px;
    border-top: 1px solid var(--line-color);
  }

  .site-nav ul {
    justify-content: center;
    gap: 0;
  }

  .site-nav li {
    flex: 1;
    text-align: center;
  }

  .site-nav a {
    padding: 19px 4px 18px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .site-nav a::after {
    bottom: 11px;
  }

  .site-main {
    padding: 26px 0 55px;
  }

  .page-titlebar {
    margin-bottom: 12px;
    padding: 24px 20px 22px;
  }

  .page-titlebar h1 {
    font-size: 28px;
  }

  .text-panel {
    padding: 37px 25px 41px;
  }

  .text-panel h2 {
    margin-bottom: 29px;
padding-bottom: 18px;
    font-size: 26px;
  }

  .introduction {
    font-size: 16px;
  }

  .site-footer {
    margin-top: 21px;
    font-size: 9px;
  }
}

/* -------------------------
   减少动态效果
   ------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
