﻿:root {
  --ink: #10231f;
  --muted: #5f706c;
  --line: rgba(16, 35, 31, .12);
  --paper: #f4f7f6;
  --panel: #ffffff;
  --deep: #0b211e;
  --jade: #58c9b8;
  --gold: #c8a964;
  --blue: #3e9fd6;
  --shadow: 0 18px 52px rgba(13, 34, 31, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef4f2 0, #f8faf9 340px, #f4f7f6 100%);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  color: white;
  overflow: clip;
  background:
    radial-gradient(circle at 72% 28%, rgba(88, 201, 184, .32), transparent 34%),
    linear-gradient(90deg, rgba(5, 18, 16, .86), rgba(8, 38, 35, .42)),
    url("./assets/concepts/control/LJ-001-overview.png") center / cover no-repeat;
}

.site-nav {
  min-height: 72px;
  padding: 16px 44px;
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  color: white;
  position: relative;
  z-index: 2;
}

.site-nav--light {
  position: sticky;
  top: 0;
  background: rgba(250, 252, 251, .92);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-brand strong,
.site-brand span {
  display: block;
}

.site-brand strong {
  font-size: 21px;
  letter-spacing: 0;
}

.site-brand span {
  margin-top: 3px;
  color: currentColor;
  opacity: .68;
  font-size: 13px;
}

.site-menu {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-menu a {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: currentColor;
  opacity: 1;
  background: rgba(5, 18, 16, .26);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .26);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.site-menu a:hover,
.site-menu a.is-active {
  opacity: 1;
  border-color: rgba(88, 201, 184, .72);
  background: rgba(88, 201, 184, .26);
  transform: translateY(-1px);
}

.site-hero .site-menu a:hover,
.site-hero .site-menu a.is-active {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .22);
}

.site-nav--light .site-menu a {
  border-color: rgba(16, 35, 31, .14);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 24px rgba(13, 34, 31, .08);
  text-shadow: none;
}

.site-nav--light .site-menu a:hover,
.site-nav--light .site-menu a.is-active {
  color: var(--deep);
  border-color: rgba(88, 201, 184, .55);
  background: rgba(88, 201, 184, .18);
}

.home-copy {
  width: min(820px, calc(100% - 48px));
  padding: clamp(64px, 10vh, 124px) 0 72px 56px;
}

.home-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
}

.home-copy h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 104px);
  line-height: .96;
  letter-spacing: 0;
}

.home-copy h2 {
  width: min(680px, 100%);
  margin: 24px 0 0;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3;
  font-weight: 500;
}

.home-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.home-points span,
.home-actions a {
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .11);
  backdrop-filter: blur(10px);
  padding: 10px 14px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-actions a:first-child {
  background: white;
  color: var(--ink);
}

.page-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 88px;
}

.page-head {
  margin-bottom: 28px;
}

.page-head p {
  margin: 0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: 0;
}

.page-head span {
  display: block;
  max-width: 860px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.planning-board {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  gap: 22px;
  align-items: start;
}

.planning-image {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.planning-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
}

.planning-notes,
.wide-grid,
.five-week,
.planning-gallery,
.supplement-grid,
.acceptance-groups,
.all-module-tables {
  display: grid;
  gap: 14px;
}

.planning-notes article,
.wide-grid article,
.five-week article,
.planning-gallery article,
.supplement-grid article,
.schedule-card,
.module-table-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.planning-notes article,
.wide-grid article,
.five-week article,
.supplement-grid article {
  padding: 20px;
}

.planning-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.scene-concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.planning-gallery article,
.scene-concept-grid article {
  overflow: hidden;
}

.planning-gallery img,
.scene-concept-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfe6e3;
  cursor: zoom-in;
}

.planning-gallery img,
.scene-concept-grid img,
.card img,
.proposal-cover img,
.planning-image img {
  color: transparent;
}

.image-load-failed {
  background: linear-gradient(135deg, #dfe6e3, #f7faf8);
  object-fit: contain;
}

.card.has-image-error,
.preview-card.has-image-error,
.planning-image.has-image-error,
.proposal-cover.has-image-error {
  border-color: rgba(200, 169, 100, .58);
}

.planning-gallery div,
.scene-concept-grid div {
  padding: 14px 16px 16px;
}

.compact-head {
  margin-top: 48px;
}

.proposal-cover {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}

.proposal-cover img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.proposal-cover div,
.proposal-sections article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.proposal-cover div {
  padding: 24px;
}

.proposal-cover b,
.proposal-cover span {
  display: block;
}

.proposal-cover b {
  margin-top: 16px;
}

.proposal-cover b:first-child {
  margin-top: 0;
}

.proposal-cover span {
  color: var(--muted);
  line-height: 1.7;
}

.proposal-sections {
  display: grid;
  gap: 16px;
}

.proposal-sections article {
  padding: 24px;
}

.proposal-sections h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.proposal-sections p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.login-gate {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: white;
  background:
    linear-gradient(120deg, rgba(4, 18, 17, .92), rgba(9, 45, 42, .72)),
    url("./assets/concepts/control/LJ-001-overview.png") center / cover no-repeat;
}

.login-card {
  width: min(440px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  background: rgba(8, 27, 24, .58);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
}

.login-card p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .72);
}

.login-card h2 {
  margin: 0 0 22px;
  font-size: 34px;
}

.login-card input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: 0 14px;
  color: white;
  background: rgba(255, 255, 255, .12);
  outline: none;
  font: inherit;
}

.login-card input::placeholder {
  color: rgba(255, 255, 255, .54);
}

.login-card button {
  width: 100%;
  height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.login-error {
  min-height: 22px;
  margin-top: 12px;
  color: #ffd8c8;
}

.wide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.five-week {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 28px;
}

.schedule-card {
  overflow: hidden;
  margin-bottom: 24px;
}

.schedule-card h2 {
  margin: 0;
  padding: 18px 20px;
  color: white;
  background: linear-gradient(90deg, var(--deep), #1f4c47);
  font-size: 22px;
}

.schedule-table {
  min-width: 1320px;
}

.supplement-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}

article b {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

article span {
  color: var(--muted);
  line-height: 1.75;
}

.module-table-card {
  overflow: hidden;
}

.module-table-card h3,
.module-table-card h4 {
  margin: 0;
  padding: 16px 18px;
  color: white;
  background: linear-gradient(90deg, var(--deep), #1f4c47);
  font-size: 18px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: white;
}

.work-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
}

.work-table th,
.work-table td {
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  line-height: 1.62;
  font-size: 14px;
}

.work-table th {
  color: white;
  background: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.work-table td:first-child {
  font-weight: 700;
  background: rgba(123, 207, 193, .12);
}

.work-table th:last-child,
.work-table td:last-child {
  border-right: 0;
}

.work-table tr:last-child td {
  border-bottom: 0;
}

.acceptance-table {
  min-width: 1680px;
}

.acceptance-table select,
.acceptance-table textarea {
  width: 100%;
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.acceptance-table textarea {
  min-height: 70px;
  resize: vertical;
}

.acceptance-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.acceptance-tools button,
.filters button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filters button.is-active {
  background: var(--ink);
  color: white;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(95, 112, 108, .32);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, .78);
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 201, 184, .52);
  box-shadow: 0 22px 60px rgba(13, 34, 31, .12);
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfe6e3;
}

.card__body {
  padding: 14px 15px 16px;
}

.card__body b,
.card__body span {
  display: block;
}

.card__body b {
  font-size: 15px;
  margin-bottom: 6px;
}

.card__body span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.lightbox {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 44px;
  background: rgba(4, 18, 17, .88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 94vw;
  max-height: 80vh;
  border-radius: 12px;
}

.lightbox__caption {
  color: white;
  margin-top: 16px;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, .08);
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .site-nav,
  .planning-board,
  .wide-grid,
  .five-week,
  .proposal-cover,
  .scene-concept-grid,
  .planning-gallery,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .site-menu {
    justify-self: start;
  }

  .site-nav {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .site-nav,
  .planning-board,
  .wide-grid,
  .five-week,
  .proposal-cover,
  .scene-concept-grid,
  .planning-gallery,
  .gallery {
    grid-template-columns: 1fr;
  }

  .site-nav {
    padding: 16px 20px;
  }

  .site-menu {
    gap: 8px;
  }

  .site-menu a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .home-copy {
    padding: 54px 24px 64px;
    width: 100%;
  }

  .home-copy h1 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .home-actions a,
  .home-points span {
    width: 100%;
  }

  .page-shell {
    width: min(100% - 28px, 1280px);
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .site-hero {
    min-height: auto;
  }

  .home-copy {
    padding-top: 48px;
  }

  .home-copy h1 {
    font-size: clamp(48px, 6vw, 76px);
  }

  .home-copy h2 {
    font-size: clamp(20px, 2vw, 28px);
  }
}

