@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Roboto Serif"; src: url("../fonts/roboto-serif.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  font: 400 15px/1.5 "Hanken Grotesk", -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: light;
  color: #242a23;
  background: #f8f7f1;
  --ink: #243c32;
  --muted: #63665c;
  --line: #d5d4c9;
  --serif: "Roboto Serif", "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;
}
* { box-sizing: border-box; }
body, h1, figure { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #526924; outline-offset: 3px; }
.sheet { width: min(100%, 1512px); padding: 0 clamp(28px, 5.4vw, 86px); margin: 0 auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: clamp(68px, 9svh, 94px); border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.065em; }
.mark { display: grid; place-items: center; width: 24px; height: 24px; padding-right: 1px; border-radius: 5px; background: #586c10; color: white; font-size: 19px; line-height: 1; letter-spacing: 0; }
.imprint { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.spread { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); align-items: center; gap: clamp(32px, 5.6vw, 90px); min-height: calc(100svh - clamp(68px, 9svh, 94px)); padding: clamp(24px,4svh,44px) 0; }
.plate { min-width: 0; }
.print-window { overflow: hidden; background: #c4c3a5; height: clamp(385px, 75svh, 810px); }
.print-window picture, .print-window img { display: block; width: 100%; height: 100%; }
.print-window img { object-fit: cover; object-position: 44% 54%; }
figcaption { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 12px; }
.caption, .swatches { display: inline-flex; align-items: center; }
.caption { gap: 12px; }
cite { font: 500 15px/1.5 var(--serif); }
.medium { border-left: 1px solid var(--line); padding-left: 12px; color: var(--muted); font-size: 11px; }
.swatches { gap: 3px; }
.swatches i { width: 15px; height: 8px; }
.swatches i:nth-child(1) { background: #303f29; }
.swatches i:nth-child(2) { background: #0c6666; }
.swatches i:nth-child(3) { background: #5a9b87; }
.swatches i:nth-child(4) { background: #f4c478; }
.entry { display: flex; justify-content: center; padding-bottom: 35px; min-width: 0; }
.entry-inner { width: min(100%, 358px); }
h1 { font: 450 clamp(37px, 3.5vw, 53px)/1.18 var(--serif); letter-spacing: -.055em; color: #202a23; }
form { display: grid; gap: 21px; margin-top: clamp(24px, 3.7svh, 36px); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 550; }
.field input { display: block; width: 100%; min-height: 47px; padding: 10px 13px; border: 1px solid #bdbfb2; border-radius: 5px; background: #fffefa; color: #232923; font-weight: 400; font-size: 16px; }
.field input:focus { border-color: var(--ink); outline: 2px solid #58734357; outline-offset: 1px; }
.password-field { position: relative; }
.password-field:has(button:not([hidden])) input { padding-right: 55px; }
.password-field button { position: absolute; top: 1px; right: 2px; bottom: 1px; min-width: 47px; padding: 0 10px; background: transparent; border: 0; border-radius: 4px; color: #475643; font-size: 12px; }
.password-field button:hover { text-decoration: underline; text-underline-offset: 3px; }
.remember { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 30px; color: #52594d; font-size: 13px; cursor: pointer; }
.remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: 5px; background: var(--ink); color: white; font-size: 15px; font-weight: 550; transition: background-color 140ms ease; }
.submit:hover { background: #34523f; }
.submit:active { background: #192e26; }
.submit:disabled { cursor: wait; background: #58695a; }
.arrow { font: 400 22px/1 "Hanken Grotesk", sans-serif; }
.form-error { margin: 0; padding: 9px 12px; border-left: 2px solid #ab4a30; background: #f7eae0; color: #762d1c; font-size: 13px; }
@media (min-width: 701px) and (max-height: 615px) {
  .print-window { height: 66svh; min-height: 330px; }
  .entry { padding-bottom: 12px; }
}
@media (max-width: 700px) {
  .sheet { max-width: 550px; padding: 0 clamp(19px, 6vw, 32px); }
  .masthead { min-height: 60px; }
  .wordmark { font-size: 21px; }
  .mark { width: 21px; height: 21px; font-size: 16px; }
  .imprint { font-size: 12px; }
  .spread { display: block; min-height: 0; padding: 18px 0 30px; }
  .print-window { height: clamp(108px, 20svh, 184px); }
  .print-window img { object-position: 42% 55%; }
  figcaption { margin-top: 7px; }
  cite { font-size: 13px; }
  .medium { font-size: 10px; padding-left: 8px; }
  .caption { gap: 8px; }
  .swatches i { width: 11px; height: 6px; }
  .entry { padding: clamp(22px, 3.5svh, 34px) 0 0; }
  .entry-inner { width: 100%; }
  h1 { font-size: clamp(32px, 7.4vw, 38px); }
  form { gap: 15px; margin-top: 20px; }
  .field { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) { .submit { transition: none; } }
