/* 天津市南开区沐月广告工作室 · 沐月文创展示墙
   本地静态站样式。浅色信笺式排版，与深色主站版式区分。 */

:root {
  --paper: #f3efe6;
  --sheet: #fffcf7;
  --sheet-alt: #f7f3eb;
  --ink: #1a221f;
  --ink-2: #2c3833;
  --muted: #5a655f;
  --faint: #7a847d;
  --line: #d6cebf;
  --line-strong: #c3b9a6;
  --pine: #1f4f48;
  --pine-deep: #163832;
  --pine-hover: #2a675e;
  --pine-soft: #e7eeeb;
  --pine-wash: #dfe8e4;
  --clay: #8b4f36;
  --max: 1120px;
  --header-h: 4.25rem;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
           "SimSun", "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei",
          "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  font-size: 16.5px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pine-hover);
}

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

.skip-link {
  position: absolute;
  left: 0.8rem;
  top: -3.5rem;
  background: var(--pine);
  color: #fff;
  padding: 0.4rem 0.8rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.8rem;
  color: #fff;
}

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: var(--header-h);
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand:hover {
  color: inherit;
}

.brand img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  line-height: 1.3;
}

.brand-legal {
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
  color: var(--ink-2);
  background: var(--sheet);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.88rem;
  padding: 0.35rem 0.62rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--pine);
}

.site-nav a.current {
  color: var(--pine-deep);
  border-bottom-color: var(--pine);
  font-weight: 600;
}

/* ---------- Hero / page head ---------- */

.hero {
  background:
    linear-gradient(180deg, var(--sheet) 0%, var(--sheet) 72%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 3.4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.8fr);
  gap: 2.4rem;
  align-items: end;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--pine);
  margin-bottom: 0.7rem;
}

.hero h1,
.page-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  line-height: 1.28;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.hero .lead {
  margin-top: 1.15rem;
  font-size: 1.02rem;
  color: var(--ink-2);
  max-width: 38rem;
}

.hero-aside {
  border-left: 1px solid var(--line-strong);
  padding: 0.2rem 0 0.2rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-aside dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  margin-top: 0.7rem;
}

.hero-aside dt:first-child {
  margin-top: 0;
}

.hero-aside dd {
  color: var(--ink-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  border: 1px solid var(--pine);
  line-height: 1.4;
}

.btn-primary {
  background: var(--pine);
  color: #f6faf8;
}

.btn-primary:hover {
  background: var(--pine-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--pine-deep);
}

.btn-ghost:hover {
  background: var(--pine-soft);
  color: var(--pine-deep);
}

.page-head {
  background: var(--sheet);
  border-bottom: 1px solid var(--line);
  padding: 2.3rem 0 1.8rem;
}

.page-head .deck {
  margin-top: 0.7rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Main content ---------- */

.site-main {
  padding: 2.4rem 0 3.6rem;
}

.prose {
  max-width: 46rem;
}

.prose h2,
.section-title {
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 2.1rem 0 0.85rem;
  color: var(--ink);
}

.prose h2:first-child,
.block h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.4rem 0 0.5rem;
  color: var(--ink-2);
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose p + p {
  margin-top: 0.85rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0.6rem 0 1rem;
}

.prose li {
  margin: 0.35rem 0;
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

.section {
  margin-bottom: 2.4rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.55rem;
  margin-bottom: 1.2rem;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.section-head a {
  font-size: 0.86rem;
  text-decoration: none;
}

/* ---------- Cards / grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1.25rem 1.2rem 1.3rem;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.08rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}

.card p,
.card li {
  font-size: 0.92rem;
  color: var(--muted);
}

.card a.more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.86rem;
  text-decoration: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  counter-reset: step;
}

.steps li {
  list-style: none;
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1.1rem 1rem 1.15rem;
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  color: var(--pine);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.steps h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.steps p {
  font-size: 0.88rem;
  color: var(--muted);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sheet);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.info-table th {
  width: 10.5rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--sheet-alt);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.notice-list article {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1.3rem 1.3rem 1.4rem;
  margin-bottom: 1rem;
}

.notice-list h2 {
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.notice-meta {
  font-size: 0.8rem;
  color: var(--faint);
  margin-bottom: 0.7rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.panel {
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 1.3rem 1.25rem;
}

.panel h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.contact-rows {
  display: grid;
  gap: 0.85rem;
}

.contact-rows div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.contact-rows div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-rows dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.contact-rows dd {
  color: var(--ink);
}

.contact-rows a {
  text-decoration: none;
}

.legal .prose h2 {
  font-size: 1.15rem;
  margin-top: 1.7rem;
}

.legal .prose ol.clauses {
  list-style: none;
  padding-left: 0;
}

.legal .prose ol.clauses > li {
  margin-bottom: 0.35rem;
}

.callout {
  background: var(--pine-soft);
  border-left: 3px solid var(--pine);
  padding: 0.95rem 1.1rem;
  margin: 1.2rem 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--pine-deep);
  color: #d5ddd9;
  padding: 2.2rem 0 1.6rem;
  font-size: 0.86rem;
  line-height: 1.7;
}

.site-footer a {
  color: #e8efe8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 1.6rem 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid h2 {
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  color: #f4f0e8;
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin: 0.2rem 0;
}

.footer-filing {
  padding-top: 1rem;
  color: #b7c2bd;
  font-size: 0.82rem;
}

.footer-filing p + p {
  margin-top: 0.25rem;
}

.footer-filing a {
  color: #dce6e1;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero-grid,
  .split,
  .footer-grid,
  .card-grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    border-left: none;
    border-top: 1px solid var(--line-strong);
    padding: 1rem 0 0;
  }

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

  .nav-toggle-label {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    border-top: 1px solid var(--line);
    padding: 0.4rem 0 0.6rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    border-bottom: none;
    padding: 0.5rem 0.15rem;
  }

  .site-nav a.current {
    background: var(--pine-soft);
    padding-left: 0.5rem;
  }

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

  .info-table th {
    width: 7.2rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .brand-legal {
    display: none;
  }

  .hero {
    padding: 2.2rem 0 2rem;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding-bottom: 0.15rem;
    border-bottom: none;
    background: transparent;
  }

  .info-table td {
    padding-top: 0.15rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle-label,
  .actions,
  .skip-link {
    /* keep footer for legal identity when printing contact/about */
  }

  .nav-toggle-label {
    display: none !important;
  }

  body {
    background: #fff;
  }
}

.nowrap { white-space: nowrap; }
.hero h1 {
  text-wrap: pretty;
  line-break: strict;
}
