/* Sua — Midnight Diary. One shared system for the entire portfolio. */
:root {
  color-scheme: dark;
  --night: #090709;
  --paper: #f7edf2;
  --rose: #edb5cf;
  --rose-deep: #d388aa;
  --soft: #c3adb9;
  --muted: #a88e9d;
  --rule: #35252f;
  --panel: #120d11;
  --serif: Georgia, "Times New Roman", serif;
  --sans:
    "Segoe UI Variable", "Segoe UI", "Malgun Gothic", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body.midnight {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  --ink: var(--paper);
  --ink-soft: var(--soft);
  --ink-faint: var(--muted);
  --bg: var(--night);
  --line: var(--rule);
  --surface: var(--panel);
  --surface-strong: #20141c;
  --accent: var(--rose);
  --accent-deep: var(--rose);
  --pink-deep: var(--rose);
  --pink: #edb5cf;
  --shadow: none;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
img {
  max-width: 100%;
  height: auto;
}
svg {
  display: block;
}
::selection {
  color: #10090e;
  background: var(--rose);
}
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 5px;
}
.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;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 999;
  background: var(--rose);
  color: var(--night);
  padding: 10px 20px;
}
.skip-link:focus {
  top: 10px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.2;
}
em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--rose);
}
.section-wrap {
  width: min(1264px, calc(100% - 112px));
  margin-inline: auto;
}
.kicker {
  display: block;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.19em;
  color: var(--muted);
  text-transform: uppercase;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 10px;
  border-bottom: 1px solid #704454;
  font-size: 13px;
  color: var(--paper);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.text-link:hover {
  color: var(--rose);
  border-color: var(--rose);
}
.text-link > span:last-child {
  font-size: 19px;
  line-height: 1;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 48px;
  padding: 12px 23px;
  background: var(--rose);
  color: #1d1018;
  font-size: 13px;
  border: 1px solid var(--rose);
  border-radius: 2px;
  transition: background 0.2s;
}
.primary-link:hover {
  background: #f8d3e5;
}
.round-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #6e455a;
  border-radius: 50%;
  font-size: 25px;
  color: var(--rose);
  transition:
    background 0.2s,
    color 0.2s;
}
.round-arrow:hover {
  background: var(--rose);
  color: var(--night);
}
/* Navigation */
.site-header {
  height: 90px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid #21151d;
  background: #090709f5;
  position: relative;
  z-index: 50;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.brand-script {
  font: italic 42px/1 var(--serif);
  letter-spacing: -3px;
  color: var(--paper);
}
.brand-script > span {
  color: var(--rose);
}
.brand-caption {
  font-size: 10px;
  color: var(--muted);
  border-left: 1px solid var(--rule);
  padding-left: 20px;
  letter-spacing: 0.04em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  color: var(--soft);
  height: 100%;
}
.site-nav > a,
.nav-more > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.site-nav > a:hover,
.nav-more > summary:hover,
.site-nav [aria-current="page"],
.nav-more .is-current {
  color: var(--rose);
}
.site-nav > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose);
  left: 50%;
  bottom: 0;
}
.nav-separator {
  height: 18px;
  width: 1px;
  background: var(--rule);
  margin-inline: 0;
}
.site-nav .nav-oj {
  border: 1px solid #4f3543;
  padding-inline: 16px;
  border-radius: 2px;
  font-size: 11px;
  color: var(--rose);
}
.nav-more {
  position: relative;
}
.nav-more > summary {
  list-style: none;
}
.nav-more > summary::-webkit-details-marker {
  display: none;
}
.nav-more > summary span {
  font-size: 16px;
}
.nav-dropdown {
  position: absolute;
  right: -30px;
  top: 53px;
  padding: 14px 10px;
  min-width: 180px;
  background: #160f15;
  border: 1px solid #4b2d3e;
  box-shadow: 0 24px 50px #0009;
}
.nav-dropdown a {
  display: block;
  padding: 9px 16px;
  transition: background 0.2s;
}
.nav-dropdown a:hover {
  background: #2b1924;
  color: var(--rose);
}
.menu-toggle {
  display: none;
}
/* Home */
.home-hero {
  position: relative;
  background: #000;
  overflow: hidden;
  border-bottom: 1px solid #5c1c3b;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 4% 0;
  color: #b697a7;
  font-size: 9px;
  letter-spacing: 0.21em;
  position: relative;
  z-index: 2;
}
.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  min-height: 350px;
  max-height: 660px;
  object-fit: cover;
  object-position: center;
  margin-top: -2px;
}
.hero-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4%;
  gap: 20px;
  background: #090709;
  border-top: 1px solid #5b2a40;
}
.hero-bottom > div {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
}
.hero-role {
  color: var(--muted);
  font-size: 11px;
  border-left: 1px solid #593347;
  padding-left: 13px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 12px #de6598;
}
.hero-bottom .text-link {
  font-size: 11px;
  padding-block: 3px;
  border-bottom: 0;
  gap: 42px;
}
.section-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  margin-bottom: 60px;
}
.rail-star {
  font-size: 23px;
  color: var(--rose);
  line-height: 1;
}
.rail-count {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.about-section {
  padding-top: 100px;
  padding-bottom: 120px;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 110px;
  align-items: center;
}
.about-portrait {
  padding: 20px 20px 16px;
  background: #191017;
  border: 1px solid #3c2634;
  transform: rotate(-3deg);
  max-width: 400px;
  margin-left: 24px;
  position: relative;
}
.about-portrait::before {
  content: "";
  height: 25px;
  width: 100px;
  position: absolute;
  top: -14px;
  left: 37%;
  background: #c198ad44;
  transform: rotate(5deg);
  backdrop-filter: blur(2px);
}
.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4/4.4;
  object-fit: cover;
  filter: saturate(0.62);
  border: 1px solid #47333f;
}
.about-portrait figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.about-portrait figcaption > span:last-child {
  font-size: 21px;
  color: var(--rose);
}
.about-copy h2 {
  font-size: clamp(26px, 3vw, 43px);
  line-height: 1.65;
  letter-spacing: -0.045em;
  margin-top: 20px;
}
.about-copy h2 em {
  font-family: var(--sans);
  font-style: normal;
}
.about-copy > p:not(.kicker) {
  color: var(--soft);
  line-height: 2.1;
  font-size: 14px;
  margin: 26px 0 28px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}
.section-heading h2,
.skills-layout h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-heading p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.9;
}
.section-heading .text-link {
  margin-top: 20px;
}
.selected-section {
  padding-bottom: 110px;
}
.selected-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.selected-work:nth-child(2) {
  margin-top: 95px;
}
.selected-work .project-art {
  height: 365px;
}
.selected-work:hover .project-art > img {
  transform: scale(1.08) rotate(-3deg);
}
.selected-work .work-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 14px;
}
.work-caption h3 {
  font: 38px/1.2 var(--serif);
  letter-spacing: -0.03em;
  margin: 7px 0;
}
.work-caption p {
  font-size: 12px;
  color: var(--soft);
  margin-top: 10px;
}
.work-caption .kicker {
  font-size: 8px;
}
.work-more {
  border-top: 1px solid var(--rule);
  margin-top: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.work-more a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.work-more a > span:first-child {
  font-size: 10px;
  color: var(--muted);
}
.work-more strong {
  font: 25px var(--serif);
  font-weight: 400;
}
.work-more small {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
}
.work-more a > span:last-child {
  color: var(--rose);
  font-size: 22px;
}
.skills-section {
  padding-bottom: 115px;
}
.skills-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
}
.skills-layout > div > p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.9;
  margin-top: 24px;
}
.editor-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
  margin-top: 35px;
}
.editor-links .kicker {
  margin-bottom: 10px;
}
.editor-links a {
  color: var(--soft);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.editor-links a:hover {
  color: var(--rose);
}
.skill-line {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--rule);
  min-height: 60px;
}
.skill-line img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.skill-line > span:nth-child(2) {
  width: 100px;
  font-size: 13px;
}
.skill-meter {
  height: 2px;
  background: #34232d;
  flex: 1;
  margin-left: 14px;
}
.skill-meter i {
  display: block;
  background: var(--rose-deep);
  height: 100%;
}
.skill-line small {
  width: 40px;
  color: var(--rose);
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.skill-line small span {
  color: var(--muted);
  font-size: 9px;
  margin-left: 3px;
}
.diary-strip {
  border-block: 1px solid #613047;
  background:
    radial-gradient(ellipse at 5% 150%, #79274770, transparent 70%), #190e16;
  padding: 65px 0;
}
.diary-layout {
  display: flex;
  align-items: center;
  gap: 42px;
}
.diary-symbol {
  color: var(--rose);
  width: 60px;
  flex-shrink: 0;
}
.diary-layout h2 {
  font-size: 26px;
  margin: 15px 0;
}
.diary-layout h2 em {
  font-family: var(--sans);
  font-style: normal;
}
.diary-layout p:not(.kicker) {
  font-size: 12px;
  color: var(--soft);
}
.diary-links {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  gap: 14px;
  min-width: 185px;
}
.diary-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid #543244;
  padding-bottom: 8px;
}
.diary-links a span {
  font-size: 20px;
  color: var(--rose);
}
.contact-section {
  padding-block: 100px 90px;
}
.contact-section > h2 {
  font: clamp(44px, 6vw, 80px) / 1.2 var(--serif);
  margin: 18px 0 45px;
}
.social-links {
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 65px;
}
.social-links > a {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
  padding-block: 19px;
  font-size: 12px;
}
.social-links a > span:first-child {
  color: var(--muted);
  width: 85px;
  font-size: 10px;
}
.social-links strong {
  font-weight: 400;
  overflow-wrap: anywhere;
}
.social-links a > span:last-child {
  margin-left: auto;
  color: var(--rose);
  font-size: 20px;
}
.social-links > a:hover strong {
  color: var(--rose);
}
.dedication {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 70px;
}
/* The project visual language: native marks, orbits and typographic compositions. */
.project-art {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #744459;
  height: 460px;
  background: #2a1420;
  color: #efc0d4;
}
.art-vexel {
  background:
    radial-gradient(ellipse at 50% 100%, #a33d6b90, transparent 80%),
    linear-gradient(135deg, #24111e, #482237 65%, #2b121e);
}
.art-velora {
  background:
    radial-gradient(circle at 80% 10%, #f1d3bd90, transparent 55%),
    linear-gradient(140deg, #d3b1a7, #bd8799 45%, #71465e);
  color: #381f2e;
}
.art-hebi {
  background:
    radial-gradient(ellipse at 40% 60%, #aa727b60, transparent 65%), #211820;
  color: #f2d4d8;
}
.art-orbit {
  background:
    radial-gradient(ellipse at 50% 100%, #87558b99, transparent 75%), #1c1829;
  color: #d6c4e9;
}
.art-category {
  position: absolute;
  left: 24px;
  top: 22px;
  font-size: 8px;
  letter-spacing: 0.16em;
  z-index: 2;
}
.project-art > img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.7s;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 24px #0003);
}
.art-name {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 76px);
  letter-spacing: -0.065em;
  line-height: 1;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}
.art-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 7px;
  letter-spacing: 0.2em;
  z-index: 2;
}
.art-corner {
  width: 28px;
  position: absolute;
  bottom: 24px;
  right: 24px;
}
.art-ring {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.18;
  width: 430px;
  height: 430px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-25deg) scaleX(1.7);
  pointer-events: none;
  z-index: -1;
}
.art-ring.orbit-two {
  transform: translate(-50%, -50%) rotate(38deg) scaleX(1.5);
  width: 320px;
  height: 320px;
}
.art-spark {
  position: absolute;
  top: 26%;
  right: 18%;
  font: 25px var(--serif);
  font-weight: 400;
  opacity: 0.7;
}
.hebi-letter {
  font: italic 120px/0.8 var(--serif);
  position: relative;
  z-index: 2;
  color: #e4afb9;
}
/* Interior pages */
.page-intro {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-meta {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 55px;
}
.page-intro-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.page-intro .kicker {
  font-size: 10px;
  color: var(--rose-deep);
  margin-bottom: 18px;
}
.page-intro h1 {
  font-family: var(--serif);
  font-size: clamp(55px, 6.5vw, 94px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.page-description {
  font-size: 12px;
  color: var(--soft);
  line-height: 2;
  margin-bottom: 5px;
  min-width: 255px;
}
.intro-star {
  width: 130px;
  position: absolute;
  right: 10%;
  top: 85px;
  color: #b5769733;
  transform: rotate(15deg);
  pointer-events: none;
  z-index: 0;
}
.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 32px 0 5px;
}
.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-group button {
  border: 1px solid transparent;
  padding: 10px 18px;
  background: transparent;
  color: var(--muted);
  border-radius: 2px;
  font-size: 12px;
}
.filter-group button:hover {
  color: var(--paper);
  border-color: var(--rule);
}
.filter-group .is-active {
  color: var(--rose);
  border-color: #765166;
  background: #291620;
}
.filter-group button span {
  margin-left: 10px;
  font-size: 9px;
  opacity: 0.7;
}
.project-case {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 62px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 30px;
}
.case-visual {
  min-width: 0;
}
.case-copy {
  padding-block: 12px;
}
.case-copy h2 {
  font: 64px/1.1 var(--serif);
  letter-spacing: -0.04em;
  margin-top: 20px;
}
.case-copy h3 {
  font-size: 18px;
  margin-top: 18px;
  line-height: 1.8;
  letter-spacing: -0.025em;
}
.case-copy > p:not(.kicker) {
  font-size: 13px;
  line-height: 2;
  color: var(--soft);
  margin-top: 17px;
}
.case-features {
  padding: 0;
  margin: 20px 0 24px;
  list-style: none;
  color: var(--soft);
  font-size: 11px;
  display: grid;
  gap: 7px;
}
.case-features li::before {
  content: "+";
  color: var(--rose-deep);
  padding-right: 12px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag-list > span {
  font-size: 9px;
  color: var(--muted);
  padding: 4px 9px;
  border: 1px solid var(--rule);
}
.case-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.case-links .text-link {
  font-size: 11px;
  gap: 14px;
}
.case-links .primary-link {
  font-size: 11px;
  min-height: 43px;
  gap: 20px;
}
.experience {
  padding-block: 95px 120px;
}
.experience .section-heading {
  margin-bottom: 45px;
}
.experience-row {
  display: grid;
  grid-template-columns: 120px 1fr 200px 30px;
  align-items: center;
  gap: 28px;
  padding: 29px 0;
  border-bottom: 1px solid var(--rule);
}
.experience-row > span:first-child {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.14em;
}
.experience-row h3 {
  font-size: 19px;
}
.experience-row small {
  font-size: 11px;
  color: var(--soft);
}
.experience-row > span:last-child {
  color: var(--rose);
  font-size: 23px;
}
.experience-row:hover h3 {
  color: var(--rose);
}
/* Journal and guestbook */
.feed-auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 86px;
  border-bottom: 1px solid var(--rule);
}
.journal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 70px;
  padding: 38px 0 110px;
}
.journal-feed {
  min-width: 0;
}
.journal-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.journal-label span:first-child {
  color: var(--soft);
  font-size: 11px;
  letter-spacing: 0;
}
.journal-aside {
  align-self: start;
  position: sticky;
  top: 35px;
  padding: 10px 0 0 30px;
  border-left: 1px solid var(--rule);
}
.journal-aside h2 {
  font: 46px/1.1 var(--serif);
  letter-spacing: -0.04em;
  margin-top: 24px;
}
.journal-aside > p {
  font-size: 12px;
  color: var(--soft);
  line-height: 2;
  margin-top: 26px;
}
.aside-star {
  display: block;
  width: 42px;
  color: var(--rose-deep);
  margin-top: 34px;
  font-size: 48px;
  line-height: 1;
}
.journal-aside .text-link {
  font-size: 10px;
  gap: 16px;
  margin-top: 22px;
}
.aside-foot {
  padding-top: 60px;
  font-size: 9px;
  color: var(--muted);
  line-height: 2.2;
  letter-spacing: 0.06em;
}
.midnight .board-auth {
  font-size: 12px;
  gap: 9px;
}
.midnight .board-me {
  font-size: 12px;
}
.midnight .board-btn {
  font-size: 12px;
  border: 1px solid #594050;
  color: var(--paper);
  background: #1d121a;
  border-radius: 2px;
  box-shadow: none;
  min-height: 40px;
  line-height: 1.4;
}
.midnight .board-btn:hover {
  color: var(--rose);
  background: #2b1924;
  border-color: #ad6e8f;
}
.midnight .board-btn-primary,
.midnight .board-btn-primary:hover {
  background: var(--rose);
  color: #21101b;
  border-color: var(--rose);
}
.midnight .board-btn-discord {
  background: #271b35;
  border-color: #73608d;
  color: #e3d7f2;
}
.midnight .board-card,
.midnight .board-item a {
  background: var(--panel);
  border: 1px solid var(--rule);
  box-shadow: none;
  border-radius: 2px;
  backdrop-filter: none;
}
.midnight .board-view {
  margin-top: 24px;
}
.midnight .board-list {
  gap: 0;
}
.midnight .board-item a {
  position: relative;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}
.midnight .board-item a:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}
.midnight .board-item a:hover h2 {
  color: var(--rose);
}
.midnight .board-item.is-pinned a {
  background: linear-gradient(90deg, #35152777, transparent);
  border-color: #694052;
  padding-inline: 20px;
}
.midnight .board-item-head {
  flex-wrap: wrap;
  gap: 10px;
}
.midnight .board-item-head h2 {
  color: var(--paper);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  white-space: normal;
}
.midnight .board-item-excerpt {
  font-size: 12px;
  color: var(--soft);
  line-height: 1.9;
  margin-top: 10px;
}
.midnight .board-meta {
  font-size: 10px;
  color: var(--muted);
  gap: 8px;
}
.midnight .board-meta strong {
  font-size: 12px;
  color: var(--paper);
}
.midnight .board-avatar {
  background: #4d2d41;
  color: var(--rose);
}
.midnight .board-empty {
  padding: 65px 24px;
  background: #160e14;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--soft);
  font-size: 13px;
  line-height: 2;
}
.midnight .board-empty::before {
  content: "✳";
  display: block;
  color: var(--rose-deep);
  font-size: 35px;
  line-height: 1.4;
  margin-bottom: 18px;
}
.midnight .board-notice {
  font-size: 12px;
  border-radius: 2px;
  background: #24131d;
  border: 1px solid #553044;
  color: var(--rose);
  margin: 20px 0;
  padding: 14px 18px;
}
.midnight .board-notice[data-tone="error"] {
  background: #2b1720;
  border-color: #794154;
  color: #f5bfc9;
}
.midnight .board-muted {
  color: var(--soft);
  font-size: 13px;
}
.midnight .blog-tabs {
  gap: 8px;
  margin: 22px 0 28px;
}
.midnight .blog-tab {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--muted);
}
.midnight .blog-tab[aria-current="page"] {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}
.midnight .blog-tab:hover {
  color: var(--rose);
  background: #1f111a;
}
.midnight .blog-cat,
.midnight .board-badge {
  border-radius: 2px;
  padding: 3px 7px;
  background: #332033;
  color: #e4b1d1;
  font-size: 9px;
}
.midnight .blog-cat[data-category="partner"] {
  color: #ccc1ee;
  background: #262037;
}
.midnight .blog-cat[data-category="project"] {
  color: #edb9a0;
  background: #38251f;
}
.page-blog .board-item-head h2 {
  flex-basis: 100%;
  font-size: 25px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.page-blog .board-item-excerpt {
  font-size: 12px;
  margin-bottom: 16px;
}
.page-blog .board-item a {
  padding-block: 29px;
}
.midnight .board-article {
  padding: 34px;
}
.midnight .board-article h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--paper);
  letter-spacing: -0.035em;
}
.midnight .board-article-body {
  font-size: 14px;
  line-height: 2.1;
  color: var(--soft);
  padding-top: 22px;
}
.midnight .board-article-actions button,
.midnight .board-article-actions a {
  color: var(--muted);
  font-size: 11px;
}
.midnight .board-article-actions button:hover,
.midnight .board-article-actions a:hover {
  color: var(--rose);
}
.midnight .board-field {
  font-size: 13px;
  color: var(--paper);
  gap: 9px;
}
.midnight .board-field > span {
  font-size: 12px;
}
.midnight .board-field input,
.midnight .board-field textarea,
.midnight .board-field select,
.midnight .board-comment-form textarea,
.midnight .board-page select {
  border-radius: 2px;
  background: #0b080b;
  border: 1px solid #543347;
  color: var(--paper);
  font-size: 13px;
  padding: 13px 15px;
  box-shadow: none;
}
.midnight input::placeholder,
.midnight textarea::placeholder {
  color: #9a7e8f;
}
.midnight .board-form {
  padding: 30px;
  gap: 26px;
}
.midnight .board-counter {
  font-size: 10px;
  color: var(--muted);
}
.midnight .board-comment {
  background: transparent;
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.midnight .board-comment-body {
  color: var(--soft);
  font-size: 13px;
}
.midnight .board-comments-title {
  font-weight: 400;
  font-size: 20px;
  color: var(--paper);
  margin-top: 30px;
}
.midnight .board-back,
.midnight .board-link-btn {
  font-size: 12px;
  color: var(--rose);
}
.midnight .board-pager a {
  border-radius: 2px;
  background: #1a1018;
  border: 1px solid var(--rule);
  font-size: 12px;
}
.midnight .board-pager a[aria-current="page"] {
  background: var(--rose);
  color: var(--night);
}
.midnight .board-pager span,
.midnight .board-count,
.midnight .board-login-hint {
  font-size: 11px;
  color: var(--muted);
}
.midnight .board-toolbar {
  margin-bottom: 15px;
}
.midnight .blog-files li > a,
.midnight .blog-files-edit li {
  background: #1b1018;
  border-color: var(--rule);
  border-radius: 2px;
  font-size: 12px;
}
.midnight .blog-gallery a {
  background: var(--panel);
  border-radius: 2px;
}
.midnight .blog-edited {
  font-size: 10px;
}
.midnight .blog-check {
  font-size: 12px;
}
.midnight .blog-check input {
  accent-color: var(--rose);
}
.midnight .profile-card-x {
  background: var(--panel);
}
.midnight .profile-name {
  color: var(--paper);
}
.midnight .settings-media {
  border-color: var(--rule);
  border-radius: 2px;
  background: #160e14;
}
.midnight .settings-banner,
.midnight .profile-banner-x {
  background: linear-gradient(120deg, #482333, #7b3c60, #2b1b35);
}
.midnight .profile-admin {
  background: #1b1118;
}
.midnight .board-avatar-xl {
  border-color: var(--night);
}
/* History */
.history-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 90px;
  margin: 65px 0 90px;
}
.history-aside {
  position: sticky;
  top: 40px;
  align-self: start;
}
.history-years {
  font: 72px/0.95 var(--serif);
  letter-spacing: -0.07em;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  margin: 28px 0;
}
.history-years span {
  font-size: 40px;
  line-height: 1;
  color: var(--rose-deep);
  margin: 10px 0;
}
.history-aside > p {
  font-size: 12px;
  line-height: 2;
  color: var(--soft);
}
.history-aside .text-link {
  font-size: 11px;
  margin-top: 26px;
  gap: 20px;
}
.story-entry {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  padding: 0 0 40px 25px;
  border-left: 1px solid #5a3549;
  min-height: 150px;
}
.story-entry::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 5px;
  width: 7px;
  height: 7px;
  background: var(--night);
  border: 1px solid #b67496;
  border-radius: 50%;
}
.story-number {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.story-entry h2 {
  font-size: 21px;
  margin: 12px 0;
  line-height: 1.6;
}
.story-entry > div > p:not(.kicker) {
  font-size: 12px;
  color: var(--soft);
  max-width: 490px;
  line-height: 1.9;
}
.story-entry .kicker {
  font-size: 9px;
  color: var(--rose-deep);
}
.story-entry.is-latest::before {
  background: var(--rose);
  box-shadow: 0 0 16px #c86491;
}
.now-label {
  display: inline-block;
  padding: 5px 12px;
  margin-top: 20px;
  border: 1px solid #664157;
  color: var(--rose);
  font-size: 8px;
  letter-spacing: 0.12em;
}
.history-closing {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding: 60px 0 100px;
  border-top: 1px solid var(--rule);
}
.history-closing > span {
  width: 40px;
  color: var(--rose);
}
.history-closing p {
  font-size: 22px;
  color: var(--soft);
}
.history-closing .text-link {
  font-size: 11px;
}
/* Private letter */
.letter-stage {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 80px;
  padding: 85px 0 115px;
  align-items: start;
}
.letter-decoration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding-top: 100px;
  color: var(--rose);
}
.letter-decoration > span {
  font: italic 65px/1 var(--serif);
  transform: rotate(-8deg);
}
.letter-decoration i {
  display: block;
  width: 150px;
  height: 1px;
  background: #6c354e;
  transform: rotate(-8deg);
}
.letter-decoration > svg {
  width: 45px;
  margin-top: 25px;
  opacity: 0.6;
}
.letter-inner {
  min-width: 0;
}
.letter-gate {
  position: relative;
  padding: 65px 38px 38px;
  background: linear-gradient(145deg, #2f1926, #1c1119);
  border: 1px solid #744b60;
  overflow: hidden;
}
.letter-gate::before {
  content: "";
  position: absolute;
  left: 10%;
  width: 80%;
  top: -215px;
  height: 290px;
  border: 1px solid #714156;
  transform: rotate(-25deg);
  pointer-events: none;
}
.letter-stamp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  width: 74px;
  height: 88px;
  border: 1px dashed #a36f89;
  outline: 6px solid #3b2130;
  font: italic 42px/1 var(--serif);
  color: var(--rose);
  background: #25141f;
  transform: rotate(7deg);
}
.letter-stamp > span {
  font: 7px/2 var(--sans);
  letter-spacing: 0.12em;
  margin-top: 9px;
}
.letter-gate h2 {
  font-size: 24px;
  text-align: center;
  margin: 12px 0;
}
.letter-gate > p {
  font-size: 11px;
  color: var(--soft);
  text-align: center;
  line-height: 2;
}
.code-form {
  margin-top: 30px;
}
.code-label {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.code-field {
  display: flex;
  gap: 0;
}
.code-input {
  background: #0f090d;
  color: var(--paper);
  border: 1px solid #654357;
  padding: 12px 15px;
  min-width: 0;
  width: 100%;
  font-size: 13px;
  letter-spacing: 0.15em;
  border-radius: 0;
}
.code-input::placeholder {
  letter-spacing: 0;
  font-size: 11px;
}
.code-submit {
  flex-shrink: 0;
  border: 1px solid var(--rose);
  color: #22121b;
  background: var(--rose);
  padding: 12px 20px;
  font-size: 12px;
  border-radius: 0;
}
.code-submit:disabled {
  opacity: 0.65;
}
.code-status {
  font-size: 11px;
  min-height: 22px;
  color: #f1b4c8;
  margin-top: 14px;
}
.letter-back {
  display: inline-block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 11px;
}
.letter-paper {
  background: #ead8de;
  color: #3b2530;
  padding: 48px 38px;
  border: 1px solid #fff4;
  box-shadow: 10px 14px 0 #4d293844;
  outline-offset: 7px;
}
.letter-to {
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #805267;
  margin-bottom: 25px;
}
.letter-paper h2 {
  font-size: 30px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.letter-body {
  font-size: 14px;
  line-height: 2.1;
  color: #573746;
}
.letter-body p + p {
  margin-top: 13px;
}
.letter-from {
  text-align: right;
  margin-top: 35px;
  font: italic 25px var(--serif);
  color: #805267;
}
.letter-reset {
  background: transparent;
  color: #75485e;
  border: 0;
  border-bottom: 1px solid #98687e;
  padding: 8px 0;
  font-size: 11px;
  display: block;
  margin: 25px auto 0;
}
.letter-gate.is-shaking {
  animation: letter-shake 0.4s;
}
.letter-gate.is-loading .letter-stamp {
  animation: stamp-turn 0.85s ease;
}
@keyframes letter-shake {
  20%,
  60% {
    translate: -5px 0;
  }
  40%,
  80% {
    translate: 5px 0;
  }
}
@keyframes stamp-turn {
  50% {
    rotate: 15deg;
    scale: 1.05;
  }
}
/* Partners and friends */
.partner-list {
  padding-block: 20px 55px;
}
.partner-row {
  display: grid;
  grid-template-columns: 55px 175px 1fr 65px;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
}
.partner-number {
  font: italic 27px var(--serif);
  color: var(--muted);
}
.partner-portrait {
  position: relative;
  width: 175px;
  height: 195px;
  background: #39232f;
  overflow: hidden;
}
.partner-portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68);
  z-index: 1;
  transition: filter 0.4s;
}
.partner-row:hover .partner-portrait img {
  filter: saturate(1);
}
.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 52px;
  color: #d9a4bd;
  background: linear-gradient(130deg, #4b263e, #1e1525);
}
.partner-copy .kicker {
  font-size: 9px;
}
.partner-copy h2 {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin: 15px 0 5px;
}
.partner-handle {
  font-size: 11px;
  color: var(--muted);
}
.partner-copy p {
  color: var(--soft);
  font-size: 12px;
  margin-top: 22px;
  line-height: 2;
}
.partner-heart {
  color: var(--rose);
  font-size: 34px;
  text-align: center;
}
.partner-invite {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 35px 0 100px;
}
.partner-invite > span {
  width: 55px;
  color: var(--rose);
  flex-shrink: 0;
}
.partner-invite h2 {
  font-size: 25px;
  margin: 14px 0;
}
.partner-invite h2 em {
  font-style: normal;
  font-family: var(--sans);
}
.partner-invite p {
  font-size: 12px;
  color: var(--soft);
}
.partner-invite .primary-link {
  margin-left: auto;
  flex-shrink: 0;
}
.people-quote {
  padding: 55px 0;
  display: flex;
  align-items: center;
  gap: 35px;
  border-bottom: 1px solid var(--rule);
}
.people-quote > span:first-child {
  font: 120px/1 var(--serif);
  color: #76465f;
  align-self: flex-start;
  height: 40px;
}
.people-quote p {
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.9;
  color: var(--soft);
  letter-spacing: -0.035em;
}
.people-quote em {
  font-family: var(--sans);
  font-style: normal;
}
.people-orbit {
  margin-left: auto;
  width: 75px;
  color: #85506c;
}
.people-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 33px 0;
}
.people-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #765064;
  color: var(--muted);
}
.people-search > span {
  font-size: 24px;
}
.people-search input {
  width: 220px;
  background: transparent;
  color: var(--paper);
  border: 0;
  padding: 9px;
  font-size: 12px;
  border-radius: 0;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 35px;
}
.person-entry {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 27px 0;
  border-bottom: 1px solid var(--rule);
}
.person-initial {
  width: 45px;
  height: 45px;
  border: 1px solid #704457;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #e5b3cb;
  background: #26161f;
  font-size: 16px;
  flex-shrink: 0;
}
.initial-1 {
  background: #1b1a2b;
  border-color: #45405e;
  color: #ccc3e8;
}
.initial-2 {
  background: #24221c;
  border-color: #54503c;
  color: #e1d6b7;
}
.initial-3 {
  background: #172326;
  border-color: #3f575a;
  color: #b8d4d7;
}
.person-entry h2 {
  font-size: 16px;
  line-height: 1.6;
  white-space: nowrap;
}
.person-entry h2 span {
  color: var(--rose);
  padding-left: 6px;
  font-size: 14px;
}
.person-entry p {
  color: var(--muted);
  font-size: 10px;
  overflow-wrap: anywhere;
  margin-top: 3px;
}
.person-index {
  margin-left: auto;
  color: #845a72;
  font-size: 9px;
  align-self: flex-start;
  margin-top: 9px;
}
.people-empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--soft);
  background: var(--panel);
  border: 1px solid var(--rule);
  font-size: 13px;
}
.people-partner {
  margin: 55px 0 100px;
  font-size: 12px;
}
/* Common footer */
.site-footer {
  padding: 60px 4% 25px;
  background: #160c13;
  border-top: 1px solid #533045;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -10%;
  width: 70%;
  height: 350px;
  background: radial-gradient(ellipse, #70264755, transparent 65%);
  pointer-events: none;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  position: relative;
}
.footer-mail {
  font: clamp(48px, 6vw, 85px) / 1.2 var(--serif);
  letter-spacing: -0.05em;
  display: flex;
  gap: 55px;
  color: var(--paper);
  margin-top: 10px;
}
.footer-mail > span {
  color: var(--rose);
  font: 45px var(--sans);
  align-self: center;
}
.footer-mail:hover {
  color: var(--rose);
}
.footer-note {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--soft);
  font-size: 12px;
}
.mini-star {
  color: var(--rose);
  font-size: 40px;
}
.footer-bottom {
  position: relative;
  border-top: 1px solid #3d2332;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 8px;
  letter-spacing: 0.07em;
  color: var(--muted);
}
.footer-sign {
  font-size: 12px;
  color: var(--rose);
  letter-spacing: 0;
}
.footer-bottom > div {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 10px;
}
.footer-bottom a:hover {
  color: var(--rose);
}
/* Cloner workspace and sign-in */
.page-AI {
  --side-w: 250px;
  --text: var(--sans);
  --diary: var(--sans);
}
.page-AI .site-header {
  height: 76px;
}
.page-AI .site-header .brand-caption {
  display: none;
}
.page-AI .ai-shell {
  height: calc(100dvh - 76px);
  min-height: 600px;
}
.page-AI .ai-side {
  background: #150c12;
  border: 0;
  border-right: 1px solid var(--rule);
  padding: 26px 17px;
  gap: 17px;
}
.page-AI .side-head {
  padding-inline: 7px;
}
.page-AI .ai-brand img {
  display: none;
}
.page-AI .ai-brand-name {
  font: italic 32px var(--serif);
  color: var(--rose);
}
.page-AI .ai-brand-sub {
  color: var(--muted);
  font-size: 9px;
  margin-top: 8px;
}
.page-AI .side-new {
  color: var(--rose);
  background: #291622;
  border: 1px solid #674355;
  border-radius: 2px;
  font-size: 12px;
  box-shadow: none;
}
.page-AI .chat-row,
.page-AI .chat-rename {
  border-radius: 2px;
}
.page-AI .chat-row.is-active {
  background: #382134;
}
.page-AI .chat-row:hover {
  background: #2a1923;
}
.page-AI .side-group {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.page-AI .side-quota {
  border-color: var(--rule);
}
.page-AI .ai-app {
  background: #0c080b;
}
.page-AI .ai-top {
  background: #0c080b;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  margin: 0;
  padding: 18px 28px;
  gap: 20px;
}
.page-AI .ai-title {
  font-size: 13px;
  font-weight: 400;
}
.page-AI .ai-models,
.page-AI .ai-modes {
  border-radius: 2px;
  background: #170e15;
  border-color: #382131;
}
.page-AI .ai-model,
.page-AI .ai-mode {
  font-size: 11px;
  border-radius: 1px;
  padding: 7px 12px;
}
.page-AI .ai-model.is-active,
.page-AI .ai-mode.is-active {
  background: #49253b;
  color: var(--rose);
}
.page-AI .ai-scroll {
  background: radial-gradient(ellipse at 50% 40%, #3c132322, transparent 65%);
}
.page-AI .ai-welcome {
  padding-top: 8vh;
}
.cloner-emblem {
  width: 45px;
  color: var(--rose);
  margin: 0 auto 30px;
}
.page-AI .ai-welcome > .kicker {
  font-size: 8px;
  color: var(--rose-deep);
  margin-bottom: 20px;
}
.page-AI .ai-welcome h2 {
  font-weight: 400;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.045em;
}
.page-AI .ai-welcome > p:not(.kicker) {
  font-size: 12px;
  line-height: 2;
  max-width: 380px;
  margin-top: 20px;
}
.page-AI .ai-suggest {
  gap: 12px;
  margin-top: 30px;
}
.page-AI .ai-chip {
  border-radius: 2px;
  background: #1a0f17;
  border: 1px solid var(--rule);
  box-shadow: none;
  padding: 20px;
  text-align: left;
}
.page-AI .ai-chip:hover {
  background: #2a1722;
  border-color: #8a526e;
}
.page-AI .ai-chip b {
  font-size: 12px;
  font-weight: 400;
  color: var(--rose);
}
.page-AI .ai-chip span {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 8px;
}
.page-AI .ai-bottom {
  background: #0c080b;
  border-top: 0;
  padding-bottom: 18px;
}
.page-AI .ai-composer {
  background: #21121d;
  border: 1px solid #75445f;
  border-radius: 5px;
  box-shadow: none;
}
.page-AI .ai-composer textarea {
  font-size: 13px;
  color: var(--paper);
}
.page-AI .ai-send {
  background: var(--rose);
  color: var(--night);
  border-radius: 2px;
}
.page-AI .ai-foot {
  color: var(--muted);
  font-size: 9px;
  margin-top: 12px;
}
.page-AI .msg-bubble {
  border-radius: 3px;
  box-shadow: none;
}
.page-AI .msg-user .msg-bubble {
  background: #321c2b;
  color: var(--paper);
}
.page-AI .msg-assistant .msg-bubble {
  background: #181015;
}
.page-AI .ai-gate {
  position: relative;
  inset: auto;
  min-height: calc(100dvh - 76px);
  padding: 70px 7%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 20% 100%, #681a3a55, transparent 65%),
    var(--night);
  z-index: 1;
}
.page-AI .gate-card {
  width: min(100%, 1120px);
  max-width: 1120px;
  padding: 0;
  border: 1px solid #643c52;
  border-radius: 3px;
  box-shadow: none;
  background: #130b11;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  text-align: left;
  overflow: hidden;
}
.gate-editorial {
  position: relative;
  padding: 64px 48px;
  min-height: 470px;
  background:
    radial-gradient(ellipse at 80% 110%, #b4386a70, transparent 65%), #29131f;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.page-AI .gate-editorial h1 {
  font: clamp(40px, 4.5vw, 66px) / 1.08 var(--serif);
  letter-spacing: -0.045em;
  color: var(--paper);
  position: relative;
  z-index: 1;
}
.page-AI .gate-editorial > p {
  font-size: 12px;
  color: var(--soft);
  line-height: 2;
}
.gate-orbit {
  width: 210px;
  position: absolute;
  right: -70px;
  bottom: 0;
  color: #ab637b33;
  transform: rotate(15deg);
}
.gate-editorial > .kicker:last-child {
  margin-top: auto;
  font-size: 8px;
}
.gate-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 50px 40px;
}
.gate-content h2 {
  font-size: 25px;
  line-height: 1.6;
  margin: 22px 0 14px;
  letter-spacing: -0.04em;
}
.page-AI .gate-content > p {
  font-size: 12px;
  color: var(--soft);
  line-height: 2;
  margin: 0 0 30px;
}
.page-AI .gate-btn {
  font-size: 12px;
  min-height: 46px;
  width: 100%;
  border-radius: 2px;
  background: var(--rose);
  color: var(--night);
  box-shadow: none;
  border: 0;
  margin: 0;
  justify-content: center;
}
.page-AI .gate-home {
  font-size: 10px;
  color: var(--muted);
  margin-top: 20px;
}
.page-AI .gate-btn:hover {
  background: #f9d6e7;
}
.page-AI .style-chip {
  border-radius: 2px;
  font-size: 11px;
}
.page-AI .style-chip.is-active {
  background: #47253a;
  color: var(--rose);
}
/* Administration */
.page-admin {
  --accent: var(--rose);
  --green: #a2c7ac;
  --red: #f1a2b8;
  --blue: #bcb4e8;
  --purple: var(--rose);
  --muted: #b293a6;
  --surface: #170d15;
  --surface2: #21121d;
  --border: var(--rule);
  font-family: var(--sans);
}
.page-admin .adm-top {
  background: #140c12;
  border-bottom: 1px solid var(--rule);
  padding: 20px 4%;
  height: auto;
  gap: 20px;
  flex-wrap: wrap;
}
.page-admin .adm-brand img {
  display: none;
}
.page-admin .adm-brand b {
  font: italic 25px var(--serif);
  font-weight: 400;
  color: var(--rose);
}
.page-admin .adm-brand small {
  font-size: 10px;
  color: var(--muted);
}
.page-admin .adm {
  width: min(1280px, 92%);
  padding-top: 35px;
  margin: auto;
}
.admin-intro {
  padding: 20px 0 45px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}
.admin-intro h1 {
  font: clamp(40px, 5vw, 62px) var(--serif);
  letter-spacing: -0.04em;
  margin: 18px 0 12px;
}
.admin-intro p {
  font-size: 12px;
  color: var(--soft);
}
.page-admin .card,
.page-admin .kpi {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #160d14;
  box-shadow: none;
}
.page-admin .card {
  padding: 28px;
}
.page-admin .card h2 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 22px;
}
.page-admin .card h3 {
  color: var(--soft);
  font-weight: 400;
  font-size: 13px;
}
.page-admin .adm-range {
  border-radius: 2px;
  background: #1c1019;
  border-color: var(--rule);
}
.page-admin .adm-range button {
  border-radius: 1px;
  font-size: 11px;
}
.page-admin .adm-range button.is-on {
  background: #573044;
  color: var(--rose);
}
.page-admin .btn {
  border-radius: 2px;
  background: #392033;
  border: 1px solid #75475e;
  color: var(--paper);
  font-size: 11px;
  box-shadow: none;
}
.page-admin .btn.danger {
  background: #4a1c2c;
  color: #f7bfd2;
}
.page-admin .tbl td,
.page-admin .tbl th {
  color: var(--soft);
  font-size: 11px;
  border-color: var(--rule);
}
.page-admin .tbl th {
  background: #21131c;
  color: var(--muted);
}
.page-admin .ban-form input,
.page-admin .ban-form select,
.page-admin .settings input {
  background: #0f090e;
  color: var(--paper);
  border: 1px solid #57384b;
  border-radius: 2px;
  font-size: 12px;
}
.page-admin .settings input[type="checkbox"],
.page-admin input[type="checkbox"] {
  accent-color: var(--rose);
}
.page-admin .kpi b,
.page-admin .db-size {
  color: var(--rose);
}
/* Legal documents */
.legal-document {
  max-width: 940px;
  padding-block: 45px 100px;
}
.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 45px;
}
.legal-document .hero,
.legal-document .document-header,
.legal-document .page-header {
  background: none;
  border: 0;
  padding: 0;
  margin-bottom: 45px;
  box-shadow: none;
}
.legal-document h1 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.5;
  color: var(--paper);
  margin: 15px 0 25px;
}
.legal-document h2 {
  font-size: 21px;
  line-height: 1.6;
  color: var(--rose);
  margin: 36px 0 15px;
}
.legal-document h3 {
  font-size: 16px;
  line-height: 1.7;
  margin: 20px 0 10px;
}
.legal-document p,
.legal-document li {
  font-size: 13px;
  line-height: 2;
  color: var(--soft);
}
.legal-document p + p {
  margin-top: 13px;
}
.legal-document ul,
.legal-document ol {
  padding-left: 22px;
}
.legal-document section,
.legal-document article,
.legal-document .card,
.legal-document .panel,
.legal-document .content {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  padding: 0;
  max-width: none;
  width: 100%;
  margin: 0;
}
.legal-document section {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--rule);
}
.legal-document .eyebrow,
.legal-document .badge {
  color: var(--rose-deep);
  background: none;
  border: 0;
  font-size: 10px;
  letter-spacing: 0.13em;
}
.legal-document .lead,
.legal-document .intro {
  font-size: 14px;
  color: var(--soft);
}
.legal-document footer {
  font-size: 10px;
  color: var(--muted);
  margin-top: 45px;
}
.legal-document .hero-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.legal-document a {
  color: var(--rose);
}
/* Responsiveness */
@media (min-width: 1700px) {
  .site-header {
    padding-inline: 6%;
  }
  .hero-meta,
  .hero-bottom {
    padding-inline: 6%;
  }
  .hero-banner {
    min-height: 560px;
  }
  .about-section {
    padding-top: 120px;
  }
}
@media (max-width: 1200px) {
  .brand-caption {
    display: none;
  }
  .site-nav {
    gap: 21px;
  }
  .section-wrap {
    width: calc(100% - 80px);
  }
  .about-layout,
  .skills-layout {
    gap: 65px;
  }
  .journal-layout {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .journal-aside {
    padding-left: 24px;
  }
  .project-case {
    gap: 42px;
  }
  .case-copy h2 {
    font-size: 52px;
  }
  .case-links {
    gap: 15px;
  }
  .selected-work .project-art {
    height: 320px;
  }
  .people-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partner-row {
    grid-template-columns: 35px 150px 1fr 50px;
    gap: 30px;
  }
  .partner-portrait {
    width: 150px;
    height: 175px;
  }
}
@media (max-width: 1000px) {
  .site-header {
    height: 76px;
    padding-inline: 30px;
  }
  .brand-script {
    font-size: 37px;
  }
  .brand-caption {
    display: block;
  }
  .menu-toggle {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-end;
    width: 70px;
    height: 44px;
    gap: 10px;
    background: transparent;
    color: var(--rose);
    border: 0;
    font-size: 11px;
    padding-right: 30px;
  }
  .menu-toggle i {
    position: absolute;
    width: 20px;
    height: 1px;
    background: currentColor;
    right: 0;
    top: 17px;
    transition: transform 0.2s;
  }
  .menu-toggle i:last-child {
    top: 25px;
  }
  .menu-toggle[aria-expanded="true"] i {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] i:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    height: auto;
    background: #160c13;
    border-bottom: 1px solid #70455f;
    padding: 25px 30px;
    box-shadow: 0 20px 35px #0008;
    grid-template-columns: 1fr 1fr;
    gap: 5px 30px;
    align-items: start;
  }
  .site-nav.is-open {
    display: grid;
  }
  .site-nav > a {
    padding: 8px 0;
    font-size: 13px;
  }
  .site-nav > a[aria-current="page"]::after {
    left: auto;
    right: 6px;
    bottom: auto;
  }
  .nav-more {
    grid-row: 3/6;
    grid-column: 2;
  }
  .nav-more > summary {
    font-size: 13px;
  }
  .nav-dropdown {
    position: static;
    box-shadow: none;
    padding: 0 0 0 14px;
    background: none;
    border: 0;
    border-left: 1px solid #664156;
    min-width: 0;
    margin-top: 10px;
  }
  .nav-dropdown a {
    font-size: 12px;
    padding: 8px;
  }
  .nav-separator {
    display: none;
  }
  .site-nav .nav-oj {
    margin-top: 10px;
    padding: 10px 14px;
    min-height: 42px;
    align-self: start;
  }
  .page-AI .site-header {
    height: 76px;
  }
  .page-intro h1 {
    font-size: 70px;
  }
  .page-description {
    min-width: 225px;
    font-size: 11px;
  }
  .hero-meta {
    font-size: 8px;
  }
  .journal-layout {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 30px;
  }
  .journal-aside h2 {
    font-size: 39px;
  }
  .intro-star {
    right: 8%;
    width: 100px;
  }
  .project-art {
    height: 400px;
  }
  .case-copy h3 {
    font-size: 16px;
  }
  .case-features {
    font-size: 10px;
  }
  .partner-invite {
    gap: 25px;
    flex-wrap: wrap;
  }
  .partner-invite .primary-link {
    margin-left: 80px;
  }
  .history-layout {
    grid-template-columns: 220px 1fr;
    gap: 45px;
  }
  .letter-stage {
    gap: 35px;
  }
  .letter-gate {
    padding-inline: 24px;
  }
  .experience-row {
    grid-template-columns: 100px 1fr 165px 20px;
    gap: 18px;
  }
  .experience-row h3 {
    font-size: 16px;
  }
  .page-AI .ai-top {
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 20px;
  }
  .page-AI .ai-models {
    margin-left: auto;
  }
  .page-AI .ai-modes {
    margin-left: auto;
  }
  .page-AI .ai-title {
    min-width: 120px;
  }
  .gate-editorial {
    padding: 48px 32px;
  }
  .gate-content {
    padding: 40px 28px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 20px;
  }
  .section-wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-inline: 20px;
    height: 72px;
  }
  .site-nav {
    top: 72px;
    padding-inline: 20px;
  }
  .brand-caption {
    font-size: 9px;
    padding-left: 15px;
  }
  .site-brand {
    gap: 15px;
  }
  .hero-meta {
    padding: 22px 20px 0;
    font-size: 7px;
    letter-spacing: 0.12em;
  }
  .hero-meta > span:last-child {
    display: none;
  }
  .hero-banner {
    height: 370px;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
    max-width: none;
    width: 100%;
    margin-top: 0;
  }
  .hero-bottom {
    padding: 21px 20px;
    gap: 12px;
  }
  .hero-bottom > div {
    gap: 9px;
    font-size: 11px;
  }
  .hero-role {
    font-size: 9px;
    padding-left: 10px;
  }
  .hero-bottom .text-link {
    gap: 15px;
    font-size: 9px;
  }
  .hero-bottom .text-link > span {
    font-size: 15px;
  }
  .status-dot {
    width: 4px;
    height: 4px;
  }
  .about-section {
    padding-top: 65px;
    padding-bottom: 70px;
  }
  .section-rail {
    padding-top: 18px;
    margin-bottom: 35px;
  }
  .section-rail .kicker {
    font-size: 8px;
  }
  .rail-count {
    font-size: 7px;
  }
  .about-layout {
    gap: 45px;
    grid-template-columns: 1fr 1.2fr;
  }
  .about-portrait {
    margin: 0;
    padding: 10px 10px 8px;
    max-width: 270px;
  }
  .about-portrait figcaption {
    font-size: 6px;
    letter-spacing: 0.02em;
    margin-top: 8px;
  }
  .about-portrait figcaption > span:last-child {
    font-size: 17px;
  }
  .about-copy h2 {
    font-size: 23px;
    margin-top: 15px;
    line-height: 1.65;
  }
  .about-copy > p:not(.kicker) {
    font-size: 11px;
    margin: 18px 0;
  }
  .about-copy > .kicker {
    font-size: 8px;
  }
  .about-copy .text-link {
    font-size: 10px;
    gap: 20px;
  }
  .section-heading {
    gap: 30px;
    margin-bottom: 32px;
  }
  .section-heading h2,
  .skills-layout h2 {
    font-size: 48px;
  }
  .section-heading p {
    font-size: 11px;
  }
  .section-heading .text-link {
    font-size: 10px;
  }
  .selected-grid {
    gap: 20px;
  }
  .selected-work:nth-child(2) {
    margin-top: 65px;
  }
  .selected-work .project-art {
    height: 270px;
  }
  .project-art > img {
    width: 75px;
    height: 75px;
  }
  .art-name {
    font-size: 50px;
  }
  .art-caption {
    font-size: 6px;
    left: 15px;
    bottom: 17px;
    letter-spacing: 0.1em;
  }
  .art-category {
    left: 15px;
    top: 16px;
    font-size: 6px;
  }
  .art-corner {
    width: 20px;
    right: 15px;
    bottom: 17px;
  }
  .art-ring {
    width: 290px;
    height: 290px;
  }
  .art-ring.orbit-two {
    width: 210px;
    height: 210px;
  }
  .work-caption h3 {
    font-size: 30px;
  }
  .work-caption p {
    font-size: 10px;
  }
  .work-caption .kicker {
    font-size: 7px;
  }
  .work-caption .round-arrow {
    width: 35px;
    height: 35px;
    font-size: 21px;
  }
  .work-more {
    gap: 25px;
    margin-top: 35px;
  }
  .work-more a {
    gap: 14px;
    padding-block: 21px;
  }
  .work-more strong {
    font-size: 23px;
  }
  .work-more small {
    font-size: 8px;
  }
  .selected-section {
    padding-bottom: 70px;
  }
  .skills-section {
    padding-bottom: 70px;
  }
  .skills-layout {
    gap: 40px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .skills-layout > div > p {
    font-size: 11px;
  }
  .skill-line {
    gap: 12px;
    min-height: 53px;
  }
  .skill-line > span:nth-child(2) {
    width: 74px;
    font-size: 11px;
  }
  .skill-line img {
    width: 20px;
    height: 20px;
  }
  .skill-meter {
    margin-left: 0;
  }
  .skill-line small {
    width: 32px;
    font-size: 10px;
  }
  .editor-links a {
    font-size: 10px;
  }
  .diary-strip {
    padding-block: 40px;
  }
  .diary-layout {
    gap: 25px;
    flex-wrap: wrap;
  }
  .diary-symbol {
    width: 40px;
  }
  .diary-layout h2 {
    font-size: 21px;
  }
  .diary-layout p:not(.kicker) {
    font-size: 11px;
  }
  .diary-links {
    width: 100%;
    margin-left: 65px;
  }
  .diary-links a {
    font-size: 11px;
  }
  .contact-section {
    padding-block: 65px;
  }
  .contact-section > h2 {
    font-size: 56px;
    margin-bottom: 30px;
  }
  .social-links {
    column-gap: 30px;
  }
  .social-links > a {
    gap: 12px;
    font-size: 10px;
  }
  .social-links a > span:first-child {
    width: 55px;
    font-size: 8px;
  }
  .dedication {
    font-size: 9px;
    margin-top: 45px;
  }
  .page-intro {
    padding: 32px 0 36px;
  }
  .page-meta {
    font-size: 7px;
    margin-bottom: 40px;
  }
  .page-meta > span:last-child {
    letter-spacing: 0.08em;
  }
  .page-intro-bottom {
    display: block;
  }
  .page-intro h1 {
    font-size: 68px;
  }
  .page-intro .kicker {
    font-size: 8px;
    margin-bottom: 15px;
  }
  .page-description {
    font-size: 12px;
    margin-top: 26px;
    min-width: 0;
  }
  .intro-star {
    top: 85px;
    right: 5%;
    width: 110px;
  }
  .project-toolbar {
    margin-top: 22px;
    gap: 12px;
  }
  .project-toolbar .kicker {
    font-size: 8px;
    white-space: nowrap;
  }
  .filter-group {
    gap: 4px;
  }
  .filter-group button {
    font-size: 10px;
    padding: 8px 12px;
  }
  .filter-group button span {
    font-size: 8px;
    margin-left: 5px;
  }
  .project-case {
    gap: 30px;
    grid-template-columns: 1fr;
    padding: 35px 0 45px;
    align-items: start;
  }
  .case-visual .project-art {
    height: 350px;
  }
  .case-copy h2 {
    font-size: 52px;
    margin-top: 13px;
  }
  .case-copy .kicker {
    font-size: 8px;
  }
  .case-copy h3 {
    font-size: 17px;
    margin-top: 13px;
  }
  .case-copy > p:not(.kicker) {
    font-size: 12px;
    margin-top: 13px;
    max-width: 560px;
  }
  .case-features {
    font-size: 11px;
  }
  .case-links {
    margin-top: 25px;
  }
  .experience {
    padding: 60px 0 75px;
  }
  .experience-row {
    grid-template-columns: 75px 1fr 25px;
    gap: 18px;
    padding: 23px 0;
  }
  .experience-row small {
    grid-column: 2;
    grid-row: auto;
    font-size: 10px;
    margin-top: -10px;
  }
  .experience-row > span:last-child {
    grid-column: 3;
    grid-row: 1/3;
  }
  .experience-row > span:first-child {
    font-size: 7px;
  }
  .experience-row h3 {
    font-size: 16px;
  }
  .journal-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 65px;
    gap: 40px;
  }
  .journal-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
    padding: 25px 0 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .journal-aside > .kicker {
    grid-column: 1/-1;
    font-size: 8px;
  }
  .journal-aside h2 {
    font-size: 38px;
    margin-top: 0;
    grid-row: 2/4;
  }
  .journal-aside > p {
    margin: 0;
    font-size: 11px;
  }
  .journal-aside > .aside-star {
    display: none;
  }
  .journal-aside .text-link {
    font-size: 10px;
    margin: 0;
    justify-self: start;
  }
  .aside-foot {
    padding: 15px 0 0;
    grid-column: 1/-1;
    font-size: 8px;
  }
  .feed-auth-row {
    min-height: 80px;
    align-items: center;
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 12px;
  }
  .feed-auth-row > .kicker {
    font-size: 8px;
  }
  .midnight .board-auth {
    gap: 7px;
  }
  .midnight .board-btn {
    font-size: 10px;
    min-height: 36px;
    padding-inline: 12px;
  }
  .midnight .board-me {
    font-size: 11px;
  }
  .page-blog .board-item-head h2 {
    font-size: 22px;
  }
  .midnight .board-article {
    padding: 24px 20px;
  }
  .midnight .board-article h1 {
    font-size: 24px;
  }
  .midnight .board-form {
    padding: 22px 18px;
  }
  .midnight .board-article-body {
    font-size: 13px;
  }
  .midnight .board-comments-title {
    font-size: 18px;
  }
  .history-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    margin: 40px 0;
  }
  .history-aside {
    position: static;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--rule);
  }
  .history-years {
    font-size: 45px;
    flex-direction: row;
    gap: 22px;
    align-items: center;
    margin: 20px 0;
  }
  .history-years span {
    font-size: 28px;
  }
  .history-aside > p {
    font-size: 11px;
  }
  .history-aside .text-link {
    font-size: 10px;
    margin-top: 15px;
  }
  .story-entry {
    padding-left: 20px;
    gap: 15px;
    grid-template-columns: 24px 1fr;
    margin-left: 5px;
    padding-bottom: 35px;
  }
  .story-entry h2 {
    font-size: 19px;
  }
  .story-entry .kicker {
    font-size: 8px;
  }
  .story-entry > div > p:not(.kicker) {
    font-size: 11px;
  }
  .history-closing {
    padding: 40px 0 65px;
  }
  .history-closing p {
    font-size: 20px;
  }
  .letter-stage {
    grid-template-columns: 1fr;
    padding: 45px 0 65px;
    gap: 30px;
  }
  .letter-decoration {
    padding: 0 0 20px;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .letter-decoration > span {
    font-size: 40px;
  }
  .letter-decoration > svg {
    margin: 0;
    width: 25px;
  }
  .letter-decoration i {
    width: 50px;
  }
  .letter-inner {
    max-width: 580px;
    margin-inline: auto;
    width: 100%;
  }
  .letter-gate {
    padding: 55px 28px 28px;
  }
  .letter-gate > p {
    font-size: 11px;
  }
  .letter-paper {
    padding: 35px 25px;
    box-shadow: 6px 8px 0 #4d293844;
  }
  .partner-row {
    grid-template-columns: 25px 110px 1fr 35px;
    gap: 20px;
    padding: 35px 0;
  }
  .partner-portrait {
    width: 110px;
    height: 140px;
  }
  .partner-number {
    font-size: 19px;
  }
  .partner-copy h2 {
    font-size: 25px;
    margin-top: 12px;
  }
  .partner-copy .kicker {
    font-size: 7px;
    letter-spacing: 0.1em;
  }
  .partner-handle {
    font-size: 10px;
  }
  .partner-copy p {
    font-size: 11px;
    margin-top: 13px;
  }
  .partner-row .round-arrow {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .partner-heart {
    font-size: 25px;
  }
  .partner-invite {
    padding-bottom: 65px;
    gap: 25px;
  }
  .partner-invite > span {
    width: 35px;
  }
  .partner-invite h2 {
    font-size: 20px;
  }
  .partner-invite p {
    font-size: 11px;
  }
  .partner-invite .primary-link {
    margin-left: 60px;
    font-size: 11px;
  }
  .people-quote {
    gap: 20px;
    padding: 35px 0;
  }
  .people-quote > span:first-child {
    font-size: 85px;
  }
  .people-quote p {
    font-size: 19px;
  }
  .people-orbit {
    width: 45px;
  }
  .people-toolbar > .kicker {
    font-size: 8px;
  }
  .people-search input {
    width: 190px;
    font-size: 11px;
  }
  .people-grid {
    column-gap: 25px;
  }
  .person-entry {
    gap: 12px;
    padding-block: 23px;
  }
  .person-initial {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .person-entry h2 {
    font-size: 14px;
  }
  .person-entry p {
    font-size: 9px;
  }
  .person-index {
    font-size: 8px;
  }
  .people-partner {
    margin: 40px 0 65px;
    font-size: 11px;
  }
  .site-footer {
    padding: 40px 20px 22px;
  }
  .footer-top {
    padding-bottom: 30px;
    gap: 20px;
  }
  .footer-top .kicker {
    font-size: 8px;
  }
  .footer-mail {
    font-size: 54px;
    gap: 28px;
  }
  .footer-mail > span {
    font-size: 30px;
  }
  .footer-note {
    font-size: 10px;
    gap: 16px;
  }
  .mini-star {
    font-size: 30px;
  }
  .footer-bottom {
    gap: 15px 25px;
    flex-wrap: wrap;
    padding-top: 22px;
  }
  .footer-bottom > span {
    font-size: 7px;
  }
  .footer-bottom > div {
    font-size: 9px;
    gap: 22px;
    width: 100%;
    margin: 8px 0 0;
  }
  .footer-bottom .back-top {
    margin-left: auto;
  }
  .footer-sign {
    font-size: 11px;
  }
  .page-AI .ai-shell {
    height: calc(100dvh - 76px);
    min-height: 480px;
  }
  .page-AI .ai-side {
    padding: 18px 14px;
  }
  .page-AI .ai-gate {
    padding: 30px 20px;
  }
  .page-AI .gate-card {
    grid-template-columns: 1fr;
  }
  .gate-editorial {
    min-height: 260px;
    padding: 30px;
  }
  .page-AI .gate-editorial h1 {
    font-size: 45px;
  }
  .gate-editorial > p {
    display: none;
  }
  .gate-editorial > .kicker {
    font-size: 8px;
  }
  .gate-orbit {
    width: 200px;
    right: 15px;
    bottom: -30px;
  }
  .gate-content {
    padding: 32px;
  }
  .gate-content h2 {
    font-size: 22px;
    margin-top: 15px;
  }
  .page-AI .gate-content > p {
    font-size: 12px;
    margin-bottom: 25px;
  }
  .page-AI .ai-welcome {
    padding-top: 35px;
  }
  .page-AI .ai-model,
  .page-AI .ai-mode {
    font-size: 10px;
    padding: 6px 10px;
  }
  .page-AI .ai-title {
    font-size: 12px;
    min-width: 90px;
  }
  .page-AI .ai-chip {
    padding: 15px;
  }
  .page-AI .ai-chip span {
    font-size: 10px;
  }
  .page-admin .adm-top {
    padding: 16px 20px;
  }
  .page-admin .adm {
    width: calc(100% - 32px);
  }
  .page-admin .card {
    padding: 20px;
  }
  .admin-intro {
    padding-top: 10px;
  }
  .legal-document {
    padding-bottom: 65px;
  }
}
@media (max-width: 480px) {
  .hero-banner {
    height: 320px;
    object-fit: cover;
    width: 100%;
  }
  .hero-bottom {
    align-items: center;
  }
  .hero-role {
    display: none;
  }
  .hero-bottom .text-link {
    font-size: 9px;
    gap: 12px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .about-portrait {
    width: 70%;
    max-width: 270px;
    margin-inline: auto;
  }
  .about-portrait img {
    aspect-ratio: 1/1.1;
  }
  .about-copy {
    padding-inline: 4px;
  }
  .about-copy h2 {
    font-size: 29px;
    line-height: 1.6;
  }
  .about-copy > p:not(.kicker) {
    font-size: 12px;
  }
  .about-copy > .kicker {
    font-size: 9px;
  }
  .about-copy .text-link {
    font-size: 11px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2,
  .skills-layout h2 {
    font-size: 53px;
  }
  .section-heading > div,
  .section-heading > p {
    margin-top: 25px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .selected-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .selected-work:nth-child(2) {
    margin-top: 0;
  }
  .selected-work .project-art {
    height: 300px;
  }
  .art-name {
    font-size: 60px;
  }
  .project-art > img {
    width: 90px;
    height: 90px;
  }
  .work-caption h3 {
    font-size: 32px;
  }
  .work-caption p {
    font-size: 11px;
  }
  .work-more {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }
  .work-more small {
    font-size: 10px;
  }
  .skills-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .skills-layout > div > p {
    font-size: 12px;
  }
  .editor-links {
    margin-top: 25px;
    gap: 9px;
  }
  .editor-links a {
    font-size: 11px;
  }
  .skill-line {
    min-height: 55px;
  }
  .skill-line > span:nth-child(2) {
    width: 90px;
    font-size: 12px;
  }
  .skill-line small {
    font-size: 11px;
  }
  .diary-layout {
    gap: 20px;
  }
  .diary-symbol {
    width: 30px;
  }
  .diary-layout > div:nth-child(2) {
    flex: 1;
  }
  .diary-layout h2 {
    font-size: 18px;
    line-height: 1.7;
  }
  .diary-layout .kicker {
    font-size: 8px;
  }
  .diary-layout p:not(.kicker) {
    font-size: 10px;
    line-height: 1.9;
  }
  .diary-links {
    margin-left: 50px;
  }
  .social-links {
    grid-template-columns: 1fr;
  }
  .social-links > a {
    font-size: 12px;
  }
  .social-links a > span:first-child {
    font-size: 10px;
    width: 65px;
  }
  .dedication {
    font-size: 8px;
  }
  .page-intro h1 {
    font-size: 54px;
  }
  .page-description {
    font-size: 11px;
    margin-top: 24px;
  }
  .page-meta {
    font-size: 6px;
    gap: 14px;
    letter-spacing: 0.12em;
  }
  .intro-star {
    width: 80px;
    right: 0;
    top: 115px;
  }
  .project-toolbar {
    align-items: center;
  }
  .filter-group button {
    padding: 7px 9px;
    font-size: 9px;
  }
  .filter-group button span {
    display: none;
  }
  .project-toolbar > .kicker {
    font-size: 7px;
  }
  .case-visual .project-art {
    height: 300px;
  }
  .case-copy h2 {
    font-size: 49px;
  }
  .case-copy h3 {
    font-size: 16px;
  }
  .case-links .primary-link {
    font-size: 10px;
    padding-inline: 15px;
  }
  .case-links .text-link {
    font-size: 10px;
    gap: 5px;
  }
  .journal-layout {
    padding-top: 28px;
  }
  .journal-label {
    font-size: 7px;
  }
  .journal-label > span:first-child {
    font-size: 10px;
  }
  .midnight .board-item-head h2 {
    font-size: 17px;
  }
  .page-blog .board-item-head h2 {
    font-size: 22px;
  }
  .midnight .blog-tab {
    font-size: 11px;
    padding: 7px 9px;
  }
  .midnight .board-meta {
    font-size: 9px;
  }
  .midnight .board-empty {
    font-size: 12px;
  }
  .letter-gate {
    padding-inline: 22px;
  }
  .code-submit {
    padding-inline: 15px;
    font-size: 11px;
  }
  .code-input {
    font-size: 12px;
  }
  .letter-gate h2 {
    font-size: 22px;
  }
  .letter-paper {
    padding-inline: 23px;
  }
  .letter-body {
    font-size: 13px;
  }
  .partner-row {
    grid-template-columns: 80px 1fr 30px;
    gap: 18px;
    padding: 28px 0;
    position: relative;
  }
  .partner-number {
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 12px;
  }
  .partner-portrait {
    width: 80px;
    height: 110px;
  }
  .partner-copy h2 {
    font-size: 23px;
    margin-top: 10px;
  }
  .partner-copy p {
    font-size: 10px;
    line-height: 1.9;
    margin-top: 10px;
  }
  .partner-copy .kicker {
    font-size: 6px;
    letter-spacing: 0.08em;
  }
  .partner-handle {
    font-size: 9px;
  }
  .partner-row .round-arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .partner-heart {
    font-size: 23px;
  }
  .partner-invite {
    gap: 18px;
  }
  .partner-invite h2 {
    font-size: 18px;
  }
  .partner-invite .kicker {
    font-size: 8px;
  }
  .partner-invite > span {
    width: 30px;
  }
  .partner-invite .primary-link {
    margin-left: 48px;
  }
  .people-quote {
    gap: 15px;
  }
  .people-quote > span:first-child {
    font-size: 70px;
  }
  .people-quote p {
    font-size: 16px;
  }
  .people-orbit {
    width: 30px;
    flex-shrink: 0;
  }
  .people-toolbar {
    gap: 12px;
  }
  .people-toolbar .kicker {
    font-size: 7px;
    letter-spacing: 0.12em;
  }
  .people-search input {
    width: 160px;
    font-size: 10px;
    padding-inline: 4px;
  }
  .people-search > span {
    font-size: 21px;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .person-entry {
    gap: 18px;
    padding-block: 21px;
  }
  .person-initial {
    width: 42px;
    height: 42px;
  }
  .person-entry h2 {
    font-size: 16px;
  }
  .person-entry p {
    font-size: 10px;
  }
  .person-index {
    font-size: 9px;
  }
  .footer-top {
    align-items: flex-start;
  }
  .footer-mail {
    font-size: 49px;
    gap: 18px;
  }
  .footer-note {
    display: block;
    font-size: 8px;
  }
  .mini-star {
    display: block;
    font-size: 25px;
    line-height: 1;
    margin-bottom: 13px;
  }
  .footer-bottom > span {
    font-size: 6px;
    letter-spacing: 0.04em;
  }
  .footer-bottom {
    column-gap: 20px;
  }
  .page-AI .ai-welcome h2 {
    font-size: 25px;
  }
  .page-AI .ai-welcome > p:not(.kicker) {
    font-size: 11px;
  }
  .page-AI .ai-suggest {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .page-AI .ai-chip {
    padding: 12px;
  }
  .page-AI .ai-chip b {
    font-size: 11px;
  }
  .page-AI .ai-chip span {
    font-size: 9px;
  }
  .page-AI .ai-top {
    padding: 13px 16px;
    gap: 10px;
  }
  .page-AI .ai-modes {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
  .page-AI .ai-title {
    min-width: 60px;
  }
  .page-AI .ai-models {
    margin-left: auto;
  }
  .page-AI .ai-model {
    font-size: 9px;
    padding: 6px 8px;
  }
  .gate-content {
    padding: 28px 24px;
  }
  .gate-editorial {
    padding: 28px 24px;
  }
  .page-AI .gate-editorial h1 {
    font-size: 43px;
  }
  .page-AI .ai-gate {
    padding: 25px 16px;
  }
  .page-admin .adm-actions {
    gap: 8px;
  }
  .page-admin .adm-auto {
    font-size: 9px;
  }
  .legal-document h1 {
    font-size: 28px;
  }
  .legal-document h2 {
    font-size: 19px;
  }
  .legal-document p,
  .legal-document li {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .journal-aside,
  .hero-meta {
    display: none !important;
  }
  body.midnight {
    background: #fff;
    color: #111;
    --paper: #111;
    --soft: #333;
    --muted: #555;
    --rule: #ccc;
    --rose: #713451;
  }
  .section-wrap {
    width: 100%;
  }
  .project-case {
    break-inside: avoid;
  }
  .page-intro {
    padding-top: 0;
  }
  .project-art {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

/* Content-first page headers for reading and writing. */
.page-blog .page-intro,
.page-board .page-intro {
  padding-top: 36px;
  padding-bottom: 40px;
}
.page-blog .page-meta,
.page-board .page-meta {
  margin-bottom: 34px;
}
.page-blog .page-intro h1,
.page-board .page-intro h1 {
  font-size: clamp(55px, 6vw, 82px);
}
.page-blog .feed-auth-row,
.page-board .feed-auth-row {
  min-height: 72px;
}
.board-empty .board-btn {
  margin-top: 18px;
}
.page-oj .sidebar nav a.active {
  box-shadow: inset 2px 0 #d799bd;
}
.page-oj .sidebar .oj-icon {
  filter: sepia(0.5) hue-rotate(255deg) saturate(0.6) brightness(1.5);
}
@media (max-width: 760px) {
  .page-blog .page-intro,
  .page-board .page-intro {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .page-blog .page-intro h1,
  .page-board .page-intro h1 {
    font-size: 58px;
  }
  .page-blog .page-meta,
  .page-board .page-meta {
    margin-bottom: 30px;
  }
  .page-blog .feed-auth-row,
  .page-board .feed-auth-row {
    min-height: 68px;
  }
}
@media (max-width: 480px) {
  .page-blog .page-intro h1,
  .page-board .page-intro h1 {
    font-size: 48px;
  }
}

.code-input:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--rose);
}
.code-field:focus-within {
  outline: 1px solid var(--rose);
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .partner-row {
    grid-template-columns: 80px 1fr 44px;
  }
  .partner-row .round-arrow {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }
}
/* Populated guestbook comments and account profiles. */
.midnight .board-comment {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}
.midnight .board-comment p {
  font-size: 13px;
  line-height: 2;
  color: var(--soft);
}
.page-board .profile-banner {
  background: linear-gradient(120deg, #382033, #96516f, #21182c);
}
.midnight .profile-badge {
  background: #392035;
  border: 1px solid #80526c;
  border-radius: 2px;
  color: #edbad5;
  font-size: 11px;
}
.midnight .profile-badge-toggle {
  background: #21131c;
  color: var(--soft);
}
.midnight .profile-badge-toggle.is-on {
  background: #6e3b54;
  border-color: #ac728d;
  color: #ffe2ef;
}
.midnight .profile-uid code {
  background: #291725;
  color: #e8bdd8;
  border: 1px solid #54374a;
  border-radius: 2px;
  font-size: 11px;
}
.midnight .profile-uid,
.midnight .profile-stats,
.midnight .profile-handle {
  font-size: 11px;
}
.midnight .profile-bio {
  font-size: 13px;
  line-height: 2;
  color: var(--soft);
}
.midnight .profile-uid-label {
  font-size: 10px;
}
.midnight .profile-admin-title {
  font-size: 16px;
  font-weight: 400;
}
.midnight .settings-banner {
  border-radius: 2px;
}
.midnight .board-avatar-xl {
  box-shadow: none;
}
.midnight .board-field input:focus,
.midnight .board-field textarea:focus,
.midnight .board-comment-form textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 1px #edb5cf44;
  outline: 0;
}
/* Reading, composing and account settings use a focused, compact composition. */
:is(.page-blog, .page-board)[data-view]:not([data-view="list"]) .page-intro {
  padding: 27px 0 30px;
}
:is(.page-blog, .page-board)[data-view]:not([data-view="list"]) .page-meta,
:is(.page-blog, .page-board)[data-view]:not([data-view="list"])
  .page-description,
:is(.page-blog, .page-board)[data-view]:not([data-view="list"]) .intro-star,
:is(.page-blog, .page-board)[data-view]:not([data-view="list"]) .journal-aside,
:is(.page-blog, .page-board)[data-view]:not([data-view="list"]) .journal-label {
  display: none;
}
:is(.page-blog, .page-board)[data-view]:not([data-view="list"]) .page-intro h1 {
  font-size: 40px;
  line-height: 1.12;
}
:is(.page-blog, .page-board)[data-view]:not([data-view="list"])
  .page-intro
  h1
  br {
  display: none;
}
:is(.page-blog, .page-board)[data-view]:not([data-view="list"])
  .page-intro
  h1
  em {
  margin-left: 0.12em;
}
:is(.page-blog, .page-board)[data-view]:not([data-view="list"])
  .page-intro
  .kicker {
  font-size: 8px;
  margin-bottom: 12px;
}
:is(.page-blog, .page-board)[data-view]:not([data-view="list"])
  .journal-layout {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  padding-top: 30px;
}
@media (max-width: 480px) {
  :is(.page-blog, .page-board)[data-view]:not([data-view="list"])
    .page-intro
    h1 {
    font-size: 31px;
  }
  :is(.page-blog, .page-board)[data-view]:not([data-view="list"])
    .page-intro
    h1
    br {
    display: block;
  }
  :is(.page-blog, .page-board)[data-view]:not([data-view="list"])
    .page-intro
    h1
    em {
    margin-left: 0;
  }
  :is(.page-blog, .page-board)[data-view]:not([data-view="list"]) .page-intro {
    padding-block: 23px;
  }
}
