* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at 50% 40%, #503442, var(--desk) 74%);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
}
.access-head, .access-wrap { width: min(940px, calc(100% - 40px)); margin-inline: auto; }
.access-head {
  min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid #74505c;
}
.access-head a { color: var(--paper); text-decoration: none; }
.access-head .signature { color: #f6c5ae; font: 500 clamp(26px,4vw,34px)/1 var(--hand); }
.back-site { padding-block: 10px; font-size: 14px; }
.back-site:hover { text-decoration: underline; text-underline-offset: .25em; }
.access-wrap {
  display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1fr);
  position: relative; padding: 12px; margin-block: clamp(28px,8vh,84px) 36px;
  background: var(--paper) var(--grain) center / 180px; background-blend-mode: soft-light;
  border-radius: 3px; box-shadow: 3px 5px 0 #74514d, 0 16px 50px #21131b88;
}
.access-art { position: relative; min-height: 410px; overflow: hidden; border: 1px solid var(--edge); }
.access-art img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 60% 74%; }
.access-content {
  align-self: center; min-width: 0; padding: clamp(18px,3vw,46px);
}
.access-content .desk-postmark { float: right; margin: -14px -10px 0 5px; }
.access-content h1 { margin: 0 0 14px; font: 500 clamp(36px,4vw,53px)/1.02 var(--serif); letter-spacing: -.03em; }
.access-content p { margin: 0 0 17px; color: var(--ink-muted); font-size: 14px; }
.access-content form { clear: both; display: grid; gap: 14px; padding-top: 6px; }
.access-content label { color: var(--ink); font-weight: 600; font-size: 14px; }
.access-content input {
  display: block; width: 100%; min-height: 45px; margin-top: 4px; padding: 8px 12px;
  border: 1px solid var(--edge); border-bottom-color: #956a62; border-radius: 3px;
  background: #fff7e9; color: var(--ink); font: 400 16px/1.5 var(--sans);
}
.access-page :focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.access-head a:focus-visible { outline-color: var(--paper); }
.access-content button {
  min-height: 47px; margin-top: 3px; padding: 9px 20px; border: 3px double #d9ac95;
  border-radius: 3px; background: var(--wine-dark); color: #fff3df; box-shadow: 0 2px 0 #502b34;
  font: 600 16px/1.4 var(--sans); cursor: pointer;
}
.access-content button:hover { background: var(--wine); }
.access-content button:active { transform: translateY(1px); box-shadow: none; }
.access-content form + p { margin: 17px 0 0; }
.access-content a { color: var(--wine-dark); text-underline-offset: .22em; }
.access-content .error { clear: both; padding: 8px 12px; border-left: 3px solid var(--wine); background: #eac6b2; color: #632a36; }
@media (max-width: 650px) {
  .access-head, .access-wrap { width: min(440px,calc(100% - 28px)); }
  .access-head { min-height: 56px; }
  .access-wrap { grid-template-columns: minmax(0,1fr); padding: 8px; margin-block: 20px 30px; }
  .access-art { min-height: 0; height: clamp(125px,42vw,174px); }
  .access-art img { object-position: center 75%; }
  .access-content { padding: 24px 16px 20px; }
  .access-content .desk-postmark { transform: scale(.84); transform-origin: right top; margin: -12px -5px -8px 0; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .access-head { min-height: 46px; }
  .access-wrap { margin-top: 12px; }
  .access-art { min-height: 0; }
}
