:root { color-scheme: light; font-family: Arial, "Microsoft YaHei", sans-serif; color: #0b0b0b; background: #f4f1ea; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
.shell { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(20px, 4vw, 56px); }
.header, footer { display: flex; align-items: center; justify-content: space-between; font-size: 12px; letter-spacing: .16em; }
.header img { display: block; width: 112px; height: auto; }
.panel { align-self: center; width: min(760px, 100%); padding: 8vh 0; }
.eyebrow, label { font-size: 11px; letter-spacing: .18em; font-weight: 700; }
h1 { margin: 12px 0 24px; font-size: clamp(48px, 10vw, 118px); line-height: .84; letter-spacing: -.055em; text-transform: uppercase; }
.description { max-width: 580px; font-size: 17px; line-height: 1.6; }
form { margin-top: 40px; max-width: 620px; }
label { display: block; margin-bottom: 9px; }
.password-row { display: flex; gap: 10px; }
input, button { min-height: 48px; border: 1px solid #0b0b0b; background: transparent; color: inherit; font: inherit; }
input { flex: 1; min-width: 0; padding: 0 14px; }
button { cursor: pointer; padding: 0 20px; background: #0b0b0b; color: #fff; }
.error { min-height: 24px; color: #a01919; }
footer { align-self: end; }
.admin-create { margin: 36px 0 60px; padding: 24px; border: 1px solid #0b0b0b; }
.admin-create form { display: grid; gap: 10px; margin-top: 20px; }
.admin-create button { margin-top: 10px; }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 28px; padding: 28px 0; border-top: 1px solid #0b0b0b; }
.project-row h2 { margin: 6px 0; font-size: 30px; }
.project-actions form { margin: 0 0 14px; }
@media (max-width: 620px) { .password-row { flex-direction: column; } button { width: 100%; } }
@media (max-width: 760px) { .project-row { grid-template-columns: 1fr; } }

@font-face {
  font-family: "MangoGrotesque";
  src: url("/assets/fonts/d7cf1ccf5c-69181a2028e7b970ff371011_MangoGrotesque-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.access-shell {
  --paper: #fff;
  --ink: #000;
  --muted: rgba(0, 0, 0, 0.6);
  --line: rgba(11, 11, 11, 0.14);
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(25rem, 2fr);
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Barlow, Arial, sans-serif;
}

.access-panel {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.access-header,
.access-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 3.5rem;
  text-decoration: none;
  overflow: visible;
}

.brand img {
  display: block;
  width: 7.5rem;
  height: auto;
  max-height: 3.5rem;
  object-fit: contain;
  object-position: left center;
}

.access-index { padding-top: 0.25rem; text-align: right; }

.access-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding: clamp(4rem, 9vh, 7.5rem) 0 clamp(3.5rem, 7vh, 6rem);
}

.display-title {
  margin: 0;
  font-family: MangoGrotesque, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(8rem, 15vw, 15rem);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.display-title span { display: block; }

.access-copy {
  align-self: end;
  padding-bottom: 0.3rem;
}

.access-shell .eyebrow,
.field-label {
  display: block;
  margin: 0 0 1.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-description {
  max-width: 19rem;
  margin: 0 0 2.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.access-shell form { margin: 0; max-width: none; }

.access-shell .password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.access-shell .password-row input {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 3.9rem;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.95rem;
}

.access-shell .password-row input::placeholder { color: rgba(0, 0, 0, 0.38); }

.access-shell .password-row button {
  width: auto;
  min-width: 8.8rem;
  min-height: 0;
  padding: 0 0 0 1.25rem;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.access-shell .password-row button:hover,
.access-shell .password-row button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  outline: 0;
}

.access-shell .password-row input:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.error-message {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  color: #a01919;
  font-size: 0.72rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.access-footer { align-items: flex-end; }
.back-link { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 0.2rem; }
.access-note { max-width: 15rem; color: var(--muted); line-height: 1.35; text-align: right; }

.media-panel {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #111;
}

.media-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  animation: media-reveal 900ms cubic-bezier(.33, 1, .68, 1) both;
}

.media-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.access-header,
.display-title,
.access-copy,
.access-footer {
  animation: rise-in 700ms cubic-bezier(.33, 1, .68, 1) both;
}
.display-title { animation-delay: 80ms; }
.access-copy { animation-delay: 160ms; }
.access-footer { animation-delay: 240ms; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes media-reveal {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .access-main { grid-template-columns: 1fr; align-content: end; }
  .access-copy { max-width: 24rem; }
  .display-title { font-size: clamp(7rem, 17vw, 11rem); }
}

@media (max-width: 767px) {
  .access-shell { display: flex; flex-direction: column; overflow: visible; }
  .access-panel { min-height: 68vh; padding: 1rem; }
  .brand { min-height: 3rem; }
  .brand img { width: 6.5rem; max-height: 3rem; }
  .access-index { font-size: 0.65rem; }
  .access-main { flex: 1; gap: 2rem; padding: 3rem 0 2.25rem; }
  .display-title { font-size: clamp(5.8rem, 29vw, 8rem); }
  .access-copy { max-width: none; }
  .access-description { margin-bottom: 1.5rem; }
  .field-label { margin-bottom: 0.85rem; }
  .access-shell .password-row { grid-template-columns: 1fr; }
  .access-shell .password-row input {
    height: 3.6rem;
    padding: 0 0.15rem;
    font-size: 1rem;
  }
  .access-shell .password-row button {
    min-width: 0;
    min-height: 3.6rem;
    padding: 0 0.15rem;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }
  .access-footer { display: none; }
  .media-panel { min-height: 34svh; }
  .media-caption { right: 1rem; bottom: 1rem; left: 1rem; }
}

@media (max-width: 420px) {
  .access-panel { padding: 0.85rem; }
  .access-main { gap: 1.6rem; padding: 2.5rem 0 2rem; }
  .display-title { font-size: clamp(5.5rem, 29vw, 7rem); }
}

@media (prefers-reduced-motion: reduce) {
  .access-shell *, .access-shell *::before, .access-shell *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}
