@font-face {
  font-family: "OM Archive Serif";
  src: url("/login/assets/font.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f9f8;
  --ink: #222b29;
  --muted: #55605e;
  --accent: #273b37;
  --rule: #c6ccca;
  --ease: cubic-bezier(.16,1,.3,1);
  --serif: "OM Archive Serif", "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  --gutter: clamp(32px,5.2vw,96px);
}
*, *::after, *::before { box-sizing:border-box; }
html { background:var(--paper); }
body {margin:0;color:var(--ink);font:16px/1.5 var(--sans);}
body, button, input {-webkit-font-smoothing:antialiased;}
button, input {font:inherit;}
button {cursor:pointer;-webkit-tap-highlight-color:transparent;}
button:focus-visible, input:focus-visible {outline:2px solid #406c60;outline-offset:3px;}
[hidden] {display:none !important;}
.page {
  isolation:isolate;position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;
  height:100svh;min-height:575px;overflow:hidden;padding:0 max(var(--gutter),calc((100vw - 1952px)/2));background:var(--paper);
}
.masthead, .colophon {position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;}
.masthead {height:clamp(66px,8.8svh,90px);border-bottom:1px solid var(--rule);}
.brand {display:flex;align-items:center;gap:10px;}
.brand img {width:31px;height:31px;}
.brand-name {font:400 27px/1.05 var(--serif);letter-spacing:-.046em;}
.brand-detail {margin-left:10px;padding-left:16px;border-left:1px solid #b5bfbb;font:11px/1.22 var(--sans);color:#505956;letter-spacing:.012em;}
.privacy-tag {display:flex;align-items:center;gap:7px;color:#4c5753;font:13px/1.2 var(--serif);}
.privacy-tag svg {stroke:#58625f;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round;}
.stage {
  position:relative;min-height:0;isolation:isolate;
  --panel-width:clamp(400px,31.3vw,452px);
  --panel-inset:clamp(12px,calc((100vw - 1480px)*.19),160px);
}
.identity {position:absolute;left:0;top:clamp(24px,4.7svh,60px);z-index:1;pointer-events:none;}
h1 {margin:0 0 11px -.045em;color:#202826;font:400 clamp(63px,6.5vw,103px)/1.13 var(--serif);letter-spacing:-.059em;}
.identity p {margin:0 0 0 2px;color:#424f4b;font:400 clamp(16px,1.32vw,21px)/1.4 var(--serif);letter-spacing:.095em;}
.art-lane {
  position:absolute;z-index:0;pointer-events:none;width:min(78%,146svh,1460px);right:calc(var(--panel-width) + var(--panel-inset) - clamp(70px,6.35vw,126px));top:56%;transform:translateY(-50%);
}
.sculpture {position:relative;width:100%;aspect-ratio:1.8;}
.sculpture img, .sculpture canvas {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;}
.sculpture canvas, .sculpture.ring-ready img {opacity:0;}
.sculpture.ring-ready canvas {opacity:1;}
.panel-position {position:absolute;z-index:2;width:var(--panel-width);right:var(--panel-inset);top:50%;transform:translateY(-50%);}
.access-panel {
  border:1px solid #ccd1ce;border-radius:7px;padding:clamp(30px,2.65vw,41px);
  background:rgba(255,255,255,.946);box-shadow:0 12px 34px -20px #25312c32;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
h2 {margin:0;color:#222a26;font:400 clamp(30px,2.5vw,38px)/1.3 var(--serif);letter-spacing:-.04em;}
.form-description {margin:9px 0 29px;color:var(--muted);font-size:14px;}
.access-note {margin:13px 0 0;color:#5f6965;font-size:12px;line-height:1.45;}
.field + .field {margin-top:18px;}
label {display:block;margin-bottom:7px;font-size:13px;font-weight:500;color:#36413c;}
.input-wrap {position:relative;}
.input-wrap svg {position:absolute;left:14px;top:50%;transform:translateY(-50%);width:17px;height:17px;stroke:#626b68;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}
input {width:100%;height:47px;padding:0 12px 0 41px;border:1px solid #b5bdb9;border-radius:3px;color:var(--ink);background:#fff;appearance:none;transition:border-color .2s,box-shadow .2s;}
input::placeholder {font-size:13px;color:#65706b;opacity:1;}
input:focus {border-color:#3d6155;box-shadow:0 0 0 3px #52847316;}
[data-error] {margin:0;color:#913d39;font-size:13px;}
[data-error]:not(:empty) {margin:12px 0 -5px;}
.submit {display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;border:1px solid var(--accent);border-radius:3px;background:var(--accent);color:white;padding:0 16px;margin-top:24px;font-size:15px;font-weight:500;letter-spacing:.01em;transition:transform .2s var(--ease),background .2s;}
.submit:hover {background:#345147;}
.submit:active {transform:scale(.98);}
.submit-arrow {width:21px;height:21px;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;}
.submit[aria-disabled="true"] {cursor:progress;}
.colophon {height:clamp(44px,6.3svh,68px);border-top:1px solid var(--rule);color:#526059;}
.copyright {font:12px/1.4 var(--serif);letter-spacing:.015em;}
.motion-toggle {
  display:inline-grid;place-items:center;width:44px;height:44px;margin-right:-8px;
  background:transparent;border:0;border-radius:50%;padding:0;color:#636f69;
}
.motion-toggle svg {display:block;}
.motion-toggle:hover, .motion-toggle:focus-visible {color:#263d34;}
.dial-needle {transform-origin:16px 16px;transition:transform .45s var(--ease);}
.motion-toggle[aria-pressed="true"] .dial-needle {transform:rotate(-55deg);}
@keyframes appear {from {opacity:0;}to {opacity:1;}}
@keyframes rise {from {opacity:0;transform:translateY(14px);}to {opacity:1;transform:translateY(0);}}
@keyframes panel-in {from {opacity:0;transform:translateY(24px) scale(.98);}to {opacity:1;transform:translateY(0) scale(1);}}
@media (prefers-reduced-motion:no-preference) {
  .sculpture,.terrain-map {animation:appear .6s var(--ease) backwards;}
  h1,.identity p,.field,.submit {animation:rise .6s var(--ease) backwards;}
  .identity p {animation-delay:75ms;}
  .access-panel {animation:panel-in .7s var(--ease) .06s backwards;}
  .field {animation-delay:.18s;} .field + .field {animation-delay:.24s;} .submit {animation-delay:.30s;}
  [data-error]:not(:empty) {animation:appear .26s ease-out both;}
}
@media(min-width:1041px) and (max-height:710px) {
  .identity {top:15px;} h1 {font-size:58px;margin-bottom:4px;} .identity p {font-size:14px;}
  .art-lane {width:min(73%,126svh);top:56%;}
  .form-description {margin-bottom:16px;} .access-panel {padding:22px 30px;}
}
/* Single column on phones and portrait tablets. Use the available width for the model. */
@media (max-width:1040px) {
  :root {--gutter:24px;}
  .page {height:auto;min-height:100svh;overflow:clip;grid-template-rows:auto 1fr auto;}
  .masthead {height:60px;}
  .brand {gap:7px;} .brand img {width:28px;height:28px;} .brand-name {font-size:24px;}
  .brand-detail {display:none;} .privacy-tag {gap:6px;font-size:12px;}
  .stage {display:flex;flex-direction:column;justify-content:center;width:100%;max-width:740px;margin:0 auto;padding:clamp(10px,2.4svh,24px) 0 14px;}
  .identity {position:relative;left:auto;top:auto;order:0;}
  h1 {font-size:clamp(46px,9.8vw,68px);margin:0 0 5px -.03em;}
  .identity p {margin:0;font-size:14px;letter-spacing:.075em;}
  .art-lane {
    position:relative;right:auto;top:auto;transform:none;order:1;align-self:center;
    width:min(calc(100% + 38px),119%,66svh,706px);margin:0 auto 3px;
  }
  .art-parallax {width:100%;}
  .sculpture {width:100%;height:auto;}
  .panel-position {position:relative;right:auto;top:auto;transform:none;order:2;width:100%;max-width:470px;align-self:center;}
  .access-panel {border-radius:5px;padding:22px clamp(21px,5vw,32px) 24px;}
  h2 {font-size:29px;} .form-description {margin:5px 0 18px;font-size:13px;}
  .field + .field {margin-top:12px;} label {margin-bottom:5px;font-size:12px;}
  input {height:44px;font-size:16px;} .submit {min-height:44px;margin-top:18px;}
  .colophon {height:44px;}
  html.keyboard-open .art-lane, html.keyboard-open .identity {display:none;}
  html.keyboard-open .page {min-height:var(--visible-height,100svh);}
  html.keyboard-open .stage {display:flex;justify-content:flex-start;margin:0 auto;padding:6px 0;}
  html.keyboard-open .masthead {height:42px;} html.keyboard-open .colophon {height:34px;}
}
@media (min-width:610px) and (max-width:1040px) {
  :root {--gutter:clamp(30px,6vw,52px);}
  .stage {width:min(100%,720px);padding-top:clamp(16px,3svh,32px);padding-bottom:20px;}
  .art-lane {width:min(100%,70svh,706px);}
  .identity {width:min(100%,625px);align-self:center;}
}
@media (min-width:720px) and (max-width:1040px) and (min-aspect-ratio:1/1) {
  :root {--gutter:clamp(22px,3.2vw,38px);}
  .page {height:100svh;min-height:490px;}
  .stage {
    display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,43.5%);
    grid-template-rows:1fr auto auto 1fr;column-gap:clamp(16px,2.5vw,28px);
    width:100%;max-width:none;padding:12px 0;
  }
  .identity {grid-area:2/1;align-self:end;width:100%;}
  h1 {font-size:clamp(45px,6.1vw,65px);}
  .art-lane {grid-area:3/1;align-self:start;justify-self:center;width:113%;margin:0;}
  .panel-position {grid-area:2/2/4/3;align-self:center;width:100%;max-width:460px;}
  .access-panel {padding:24px clamp(21px,3vw,33px) 26px;}
  html.keyboard-open .stage {display:flex;align-items:center;justify-content:center;}
}
@media (max-width:1040px) and (max-height:650px) {
  .stage {padding-top:8px;padding-bottom:8px;}
}
/* Preserve clearance below the title when the old dial scales up on a wide screen. */
@media (min-width:1700px) {
  .om-traces__upper {transform:translateY(52px);}
}
@media (min-width:430px) and (max-width:609px) and (max-height:900px) {
  .art-lane {width:min(100%,48svh);}
  .stage {padding-block:10px;}
}
@media (min-width:610px) and (max-width:1040px) and (max-aspect-ratio:1/1) {
  .art-lane {width:min(100%,67svh,688px);}
  .stage {padding-bottom:14px;}
}
@media (max-width:360px) {
  .stage {padding-block:6px;}
  .masthead {height:53px;}
  .colophon {height:38px;}
  .panel-position .access-panel {padding-top:17px;padding-bottom:18px;}
  .form-description {margin-bottom:14px;}
  .art-lane {width:min(calc(100% + 30px),118%);}
}
@media (min-width:650px) and (max-width:1040px) and (min-aspect-ratio:3/2) and (max-height:490px) {
  :root {--gutter:clamp(16px,3vw,30px);}
  .page {height:100svh;min-height:350px;grid-template-rows:auto minmax(0,1fr) auto;}
  .masthead {height:40px;} .brand img {width:23px;height:23px;} .brand-name {font-size:21px;}
  .stage {display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,43%);grid-template-rows:1fr auto auto 1fr;column-gap:16px;max-width:none;padding:3px 0;}
  .identity {grid-area:2/1;width:100%;align-self:end;}
  h1 {font-size:clamp(36px,5.5vw,48px);margin-bottom:2px;}
  .identity p {font-size:12px;}
  .art-lane {grid-area:3/1;align-self:start;justify-self:center;width:min(112%,94svh);margin:0;}
  .panel-position {grid-area:2/2/4/3;align-self:center;width:100%;}
  .access-panel {padding:10px 15px;}
  h2 {font-size:24px;}
  .form-description {margin:4px 0 9px;font-size:12px;line-height:1.4;}
  .field + .field {margin-top:6px;} label {margin-bottom:3px;}
  input {height:36px;}
  .submit {min-height:37px;margin-top:9px;}
  .access-note {font-size:11px;margin-top:7px;}
  .colophon {height:30px;}
  .motion-toggle {height:30px;width:38px;}
  .motion-toggle svg {width:23px;height:23px;}
  html.keyboard-open .stage {display:flex;align-items:center;justify-content:flex-start;}
}
@media(max-width:360px) { .access-panel {padding-inline:16px;} .privacy-tag {font-size:11px;} }
@media(min-width:1041px) and (max-height:574px) {
  .page {min-height:100svh;height:auto;overflow:clip;} .stage {min-height:350px;}
  .masthead {height:42px;} .colophon {height:34px;}
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto !important;transition-duration:0s !important;animation-duration:0s !important;animation-delay:0s !important;}
}
html[data-motion-paused="true"] .access-panel,html[data-motion-paused="true"] .field,
html[data-motion-paused="true"] .submit,html[data-motion-paused="true"] .identity > * {animation:none !important;}
html.page-hidden * {animation-play-state:paused !important;}

/* Clearer OM Lab mark at interface sizes */
.brand img { width: 36px; height: 36px; }
@media (max-width: 860px) { .brand img { width: 30px; height: 30px; } }
