:root {
  --ink: #15171c;
  --paper: #f8f4ea;
  --paper-warm: #fffdf8;
  --line: #2b2f36;
  --line-soft: #d7d0c3;
  --muted: #666b72;
  --hood-blue: #9aa9b8;
  --red-eye: #c63636;
  --content-width: min(920px, calc(100vw - 28px));
  --font-body: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Trebuchet MS", "Segoe UI", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 22px;
  width: 1px;
  background: #ded7ca;
  pointer-events: none;
}

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

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

p,
h1,
h2,
figure {
  margin-top: 0;
}

.site-header,
.page-shell,
.site-footer {
  position: relative;
}

.site-header__inner,
.site-footer__inner,
.page-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 8px;
}

.brand {
  display: inline-grid;
  gap: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand__domain {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
  text-decoration-color: var(--red-eye);
}

.page-shell {
  padding: 48px 0 56px;
}

.home-room {
  max-width: 760px;
  margin: 0 0 0 7vw;
  padding: 6px 0 0;
}

.room-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 20px;
}

.avatar-stamp {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  aspect-ratio: 1;
  margin: 0;
  padding: 5px;
  background: var(--hood-blue);
  border: 1px solid var(--line);
  transform: rotate(-1.5deg);
}

.avatar-stamp::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 14px;
  width: 12px;
  height: 12px;
  background: var(--red-eye);
  border: 1px solid var(--line);
}

.avatar-stamp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.room-intro {
  padding-top: 4px;
}

.site-kicker,
.section-kicker {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.home-lead,
.page-lead,
.site-note,
.section-copy {
  color: var(--muted);
}

.home-lead {
  max-width: 28rem;
  margin-bottom: 0;
  font-size: 1rem;
}

.site-note {
  max-width: 32rem;
  margin-bottom: 16px;
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.tag-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tag-mark::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red-eye);
}

.jump-list {
  display: grid;
  max-width: 420px;
  margin: 24px 0 30px;
  border-top: 1px solid var(--line);
}

.jump-list a,
.jump-list span {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}

.jump-list a::before,
.jump-list span::before {
  content: ">";
  display: inline-block;
  width: 22px;
  color: var(--red-eye);
}

.jump-list a:hover,
.jump-list a:focus-visible {
  background: #f0eadf;
}

.note-stack {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.note-row,
.text-row {
  padding-left: 14px;
  border-left: 2px solid var(--hood-blue);
}

.section-title {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}

.section-copy {
  margin-bottom: 0;
}

.about-board,
.links-board {
  max-width: 760px;
  margin-left: 7vw;
}

.page-heading {
  max-width: 34rem;
  margin-bottom: 28px;
}

.page-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.stack-list {
  display: grid;
  gap: 18px;
  max-width: 650px;
}

.link-list {
  display: grid;
  max-width: 620px;
  border-top: 1px solid var(--line);
}

.link-row {
  display: grid;
  grid-template-columns: 86px minmax(92px, 0.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

a.link-row:hover,
a.link-row:focus-visible {
  background: #f0eadf;
}

.link-row.is-disabled {
  color: #858079;
}

.link-row__kind {
  color: var(--hood-blue);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.link-row__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}

.link-row__value {
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  body::before {
    left: 10px;
  }

  .site-header__inner,
  .site-footer__inner,
  .page-shell {
    width: min(100%, calc(100vw - 28px));
  }

  .site-header__inner,
  .site-footer__inner {
    display: grid;
    justify-content: start;
  }

  .page-shell {
    padding: 34px 0 42px;
  }

  .home-room,
  .about-board,
  .links-board {
    max-width: none;
    margin-left: 0;
  }

  .room-head {
    gap: 16px;
  }

  .avatar-stamp {
    width: 92px;
  }

  .link-row {
    grid-template-columns: 74px minmax(74px, 0.6fr) minmax(0, 1fr);
    gap: 10px;
  }
}

.construction-header,
.construction-shell,
.site-footer__inner--construction {
  position: relative;
  z-index: 1;
}

.construction-header::before,
.construction-shell::before {
  content: "";
  position: fixed;
  pointer-events: none;
}

.construction-header::before {
  top: 16px;
  right: 24px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(154, 169, 184, 0.34);
  border-radius: 50%;
  opacity: 0.35;
}

.construction-shell::before {
  left: 18px;
  bottom: 28px;
  width: 80px;
  height: 80px;
  background:
    linear-gradient(90deg, transparent 45%, rgba(198, 54, 54, 0.16) 45% 55%, transparent 55%),
    linear-gradient(transparent 45%, rgba(198, 54, 54, 0.16) 45% 55%, transparent 55%);
  background-size: 24px 24px;
  opacity: 0.6;
}

.construction-header__inner,
.construction-panel,
.site-footer__inner--construction {
  width: min(980px, calc(100vw - 28px));
  margin: 0 auto;
}

.construction-header__inner {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0 12px;
}

.construction-brand {
  display: inline-grid;
  gap: 2px;
}

.construction-brand__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.construction-brand__status {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.construction-shell {
  width: min(100%, calc(100vw - 28px));
  margin: 0 auto;
  padding: 34px 0 44px;
}

.construction-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 242, 231, 0.98));
  box-shadow: 8px 8px 0 rgba(43, 47, 54, 0.06);
}

.construction-panel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(154, 169, 184, 0.2);
  pointer-events: none;
}

.construction-hero {
  display: block;
}

.construction-main {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.construction-copy {
  min-width: 0;
}

.construction-kicker,
.construction-card__kicker {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.construction-title {
  margin: 0 0 12px;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.construction-lead {
  max-width: 30rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.construction-note {
  max-width: 28rem;
  margin: 10px 0 0;
  color: var(--muted);
}

.construction-signal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 16px;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--line-soft);
  background: var(--paper-warm);
}

.construction-signal__dots {
  display: inline-flex;
  gap: 6px;
}

.construction-signal__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-eye);
  animation: signal-blink 1.5s infinite ease-in-out;
}

.construction-signal__dots i:nth-child(2) {
  animation-delay: 0.2s;
}

.construction-signal__dots i:nth-child(3) {
  animation-delay: 0.4s;
}

.construction-signal__label {
  color: var(--muted);
  font-size: 0.82rem;
}

.construction-signal__value {
  min-width: 6em;
  color: var(--ink);
}

.construction-avatar {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--hood-blue);
  padding: 8px;
}

.construction-avatar img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
}

.construction-card,
.construction-timeline {
  position: relative;
  border: 1px solid var(--line-soft);
  background: rgba(255, 253, 248, 0.88);
}

.construction-card__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
}

.construction-timeline {
  margin-top: 24px;
  padding: 18px 18px 16px;
}

.timeline-list {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

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

.timeline-item__time {
  color: var(--hood-blue);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.timeline-item__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
}

.timeline-item__detail {
  color: var(--muted);
  line-height: 1.6;
}

.timeline-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.construction-live {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.construction-live__label {
  color: var(--hood-blue);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.construction-live__value {
  color: var(--ink);
  font-family: "Cascadia Code", "JetBrains Mono", "Consolas", monospace;
  font-size: 0.9rem;
  font-weight: 700;
}

.construction-record {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.construction-record strong {
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.construction-record span {
  color: var(--muted);
}

.construction-record:hover,
.construction-record:focus-visible {
  background: #f0eadf;
}

.site-footer__inner--construction {
  justify-content: center;
  padding: 22px 0 28px;
}

.site-footer__inner--construction a {
  text-align: center;
}

.site-footer__inner--construction span {
  font-family: var(--font-display);
  font-weight: 800;
}

.site-footer__inner--construction a:hover,
.site-footer__inner--construction a:focus-visible {
  color: var(--ink);
}

@keyframes signal-blink {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.35;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .construction-header__inner,
  .construction-main {
    grid-template-columns: 1fr;
  }

  .construction-header__inner {
    display: grid;
  }

  .construction-panel {
    padding: 20px;
  }

  .construction-panel::after {
    inset: 10px;
  }
}
