/* styles.css */
:root{font-family:Inter,Arial,sans-serif;color:#f6f3eb;background:#0b0b0b;font-synthesis:none;--gold:#bc8a2d;--line:#2b2b2b;--panel:#151515;--muted:#9a9a96}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#0b0b0b}button,input{font:inherit}button,a{color:inherit}.login-view{min-height:100vh;display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(340px,520px);align-items:center;gap:clamp(50px,9vw,150px);padding:clamp(28px,7vw,100px);background:#090909}.login-brand img{display:block;width:min(620px,100%);height:auto}.login-brand p{margin:20px 0 0;color:var(--gold);font:500 14px Space Grotesk,sans-serif;text-transform:uppercase;letter-spacing:3px}.login-panel{padding:42px;background:#f6f3eb;color:#111;border-top:3px solid var(--gold)}.eyebrow{margin:0 0 10px;color:var(--gold);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.6px}h1,h2{font-family:Space Grotesk,Inter,sans-serif;letter-spacing:0}h1{margin:0;font-size:clamp(34px,5vw,62px);line-height:1}.login-panel h1{font-size:42px}.intro{color:#686761;line-height:1.6;margin:18px 0 30px}label{display:block;margin:16px 0 7px;font-size:12px;font-weight:600}input{width:100%;height:46px;padding:0 13px;border:1px solid #bbb9b0;border-radius:2px;background:#fff;color:#111}input:focus{outline:2px solid var(--gold);outline-offset:1px}.primary{min-height:46px;padding:0 17px;border:0;border-radius:2px;background:var(--gold);color:#090909;font-weight:700;cursor:pointer}.login-panel .primary{width:100%;margin-top:24px}.message{min-height:18px;margin:12px 0 0;color:#d45a49;font-size:12px}
/* login.css */
/* Login page: warm neutral canvas, left form and full-height transparent portraits. */
::selection { background: #ff59bf; color: #000; }
::-moz-selection { background: #ff59bf; color: #000; }
body:has(#loginView:not([hidden])) { background: #f1f0eb; }
html { scrollbar-width: thin; scrollbar-color: var(--gold) #f1f0eb; }
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: #f1f0eb; }
html::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }
html::-webkit-scrollbar-thumb:hover { background: #a77924; }
html::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.login-view {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  grid-template-columns: 64% 36%;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #f1f0eb;
  color: #111;
}
.login-brand {
  position: absolute;
  top: clamp(24px, 3.2vw, 56px);
  left: clamp(24px, 3.2vw, 56px);
  z-index: 2;
}
.login-brand img { width: clamp(220px, 31.5vw, 410px); height: auto; }
.login-panel {
  grid-column: 1;
  justify-self: center;
  position: relative;
  z-index: 2;
  width: min(616px, calc(100% - 80px));
  margin: 90px 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
}
.login-panel h1 { font-size: clamp(40px, 4vw, 60px); }
.login-panel .eyebrow { font-size: 13px; margin-bottom: 14px; }
.login-panel .intro { margin: 20px 0 36px; color: #727272; font-size: 18px; }
.login-panel label { font-size: 16px; margin: 22px 0 10px; }
.login-panel input {
  height: 72px;
  border: 1px solid #dedede;
  border-radius: 18px;
  background: #fafafa;
  padding: 0 22px;
  font-size: 20px;
  transition: border-color .2s, background .2s;
}
.login-panel input:focus { background: #fff; }
.login-panel input::placeholder { color: #aaa; opacity: 1; }
.login-panel input[aria-invalid="true"] { border-color: var(--gold); }
.login-field-error { margin: 8px 0 0; color: var(--gold); font-size: 11px; line-height: 1.5; }
.login-field-error[hidden] { display: none; }
.password-field { position: relative; }
.login-panel .password-field input { padding-right: 62px; }
.password-field input::-ms-reveal { display: none; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #727272;
  cursor: pointer;
}
.password-toggle:hover { color: #111; background: #eee; }
.password-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.password-toggle svg { width: 24px; height: 24px; }
.password-toggle .eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.login-panel .primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70px;
  margin-top: 32px;
  border-radius: 18px;
  font-size: 20px;
  transition: color .3s, transform .2s;
}
.login-panel .primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #111;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path .45s cubic-bezier(.22, 1, .36, 1);
}
.login-button-label {
  display: inline-block;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.login-button-arrow {
  position: absolute;
  left: 24px;
  top: 50%;
  font-size: 28px;
  line-height: 1;
  opacity: 0;
  transform: translate(-16px, -50%) rotate(-45deg);
  transition: opacity .25s, transform .4s cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) {
  .login-panel .primary:hover { color: var(--gold); }
  .login-panel .primary:hover::before { clip-path: polygon(0 0, 110% 0, 100% 100%, 0 100%); }
  .primary:hover .login-button-label { transform: translateX(12px); }
  .primary:hover .login-button-arrow { opacity: 1; transform: translate(0, -50%) rotate(0); }
}
.login-panel .primary:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.login-panel .primary:active { transform: translateY(1px); }
.login-panel .primary:disabled { cursor: wait; opacity: .7; }
.login-message { min-height: 28px; display: flex; align-items: center; gap: 9px; }
.login-message.is-success { color: #168344; }
.login-message.is-success::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  background: #e5f6eb;
  font-size: 17px;
  font-weight: 700;
  animation: login-check .25s ease-out;
}
.login-portraits {
  position: absolute;
  inset: 0 0 0 64%;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}
.login-portrait {
  position: absolute;
  /* Leave room for the natural lower hair contour during the upward wipe. */
  inset: 0 0 0 calc(-1 * clamp(64px, 8vw, 160px));
}
.login-portrait + .login-portrait { clip-path: inset(100% 0 0 0); }
.login-portrait img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  max-width: none;
  display: block;
  /* Original sharp portrait, fading in opacity into the white page. */
  mask-image: linear-gradient(105deg,
    transparent 58%, rgba(0,0,0,.04) 60%, rgba(0,0,0,.3) 63%,
    rgba(0,0,0,.75) 66%, #000 69%);
}
.login-portrait + .login-portrait img {
  mask-image: linear-gradient(105deg,
    transparent 60%, rgba(0,0,0,.04) 62%, rgba(0,0,0,.3) 65%,
    rgba(0,0,0,.75) 68%, #000 71%);
}
.login-matrix {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  /* The narrow hair strip between the sketch's diagonal and right boundary. */
  clip-path: polygon(100% 0, 100% 100%, 32% 100%);
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 91%, transparent);
}
.login-matrix canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 1100px) {
  .login-panel { width: min(416px, calc(100% - 48px)); }
  .login-panel h1 { font-size: 42px; }
  .login-panel .eyebrow { font-size: 11px; margin-bottom: 10px; }
  .login-panel .intro { font-size: 14px; margin: 16px 0 28px; }
  .login-panel label { font-size: 12px; margin: 16px 0 7px; }
  .login-panel input { height: 54px; font-size: 16px; padding: 0 16px; border-radius: 14px; }
  .login-panel .primary { min-height: 52px; font-size: 16px; margin-top: 24px; border-radius: 14px; }
}
@keyframes login-check { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 760px) {
  .login-view { grid-template-columns: 60% 40%; }
  .login-brand img { width: clamp(210px, 40vw, 300px); }
  .login-panel { width: calc(100% - 48px); margin-top: 110px; }
  .login-panel h1 { font-size: 30px; }
  .login-portraits { left: 60%; }
}
@media (max-width: 520px) {
  .login-view { display: grid; grid-template-columns: 1fr; align-content: start; padding-top: 110px; }
  .login-brand { top: 24px; left: 24px; }
  .login-brand img { width: 230px; }
  .login-panel { width: calc(100% - 48px); max-width: 416px; margin: 24px 0 0; }
  .login-portraits { position: relative; inset: auto; grid-column: 1; height: 360px; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-panel .primary,
  .login-panel .primary::before,
  .login-button-label,
  .login-button-arrow { transition: none; }
  .login-message.is-success::before { animation: none; }
}

/* request-access.css */
.login-divider { display: flex; align-items: center; gap: 16px; margin: 16px 0; color: #888; font-size: 12px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #d5d3cc; }
.login-panel .request-access-button { min-height: 56px; margin-top: 0; background: #111; color: #f1f0eb; }
.login-panel .request-access-button::before { background: var(--gold); }
@media (hover: hover) {
  .login-panel .request-access-button:hover { color: #111; }
}
@media (max-width: 1100px) {
  .login-panel .request-access-button { min-height: 41.6px; margin-top: 0; }
}
.access-open { overflow: hidden; }
.access-dialog { position: fixed; inset: 0 auto 0 0; margin: 0; width: 38vw; max-width: 100%; height: 100svh; max-height: 100svh; padding: 110px clamp(24px, 3vw, 56px) 40px; border: 0; border-radius: 0; background: #f1f0eb; color: #111; box-shadow: 16px 0 70px #0002; overflow-y: auto; overscroll-behavior: contain; }
.access-dialog::backdrop { background: #1113; backdrop-filter: blur(8px); }
.access-dialog { scrollbar-width: thin; scrollbar-color: var(--gold) #f1f0eb; }
.access-dialog::-webkit-scrollbar { width: 6px; }
.access-dialog::-webkit-scrollbar-track { background: #f1f0eb; }
.access-dialog::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }
.access-dialog::-webkit-scrollbar-thumb:hover { background: #a77924; }
.access-dialog::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.access-dialog .access-panel { width: 100%; max-width: none; margin: 0; }
.access-panel h2 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.access-panel input { height: 54px; font-size: 16px; border-radius: 14px; }
.access-panel label { font-size: 13px; margin-top: 18px; }
.access-panel small { color: #888; font-weight: 400; }
.access-close { position: absolute; top: 24px; right: clamp(24px, 3vw, 56px); display: inline-flex; align-items: center; gap: 21px; padding: 10px 0; border: 0; background: none; color: #111; font: 400 19.25px/1.4 Inter, Arial, sans-serif; letter-spacing: .12em; cursor: pointer; transition: color .3s; }
.access-close::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.access-close:focus-visible { color: var(--gold); }
.access-close:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .access-close:hover { color: var(--gold); }
  .access-close:hover::after { transform: scaleX(1); }
}
.access-panel .access-entity { position: relative; display: flex; align-items: center; gap: 10px; width: fit-content; margin: 24px 0; cursor: pointer; }
.access-panel .access-entity input { position: absolute; inset: 0 auto 0 0; width: 46px; height: 25px; padding: 0; margin: 0; opacity: 0; }
.access-switch { position: relative; width: 46px; height: 25px; flex: 0 0 46px; border-radius: 20px; background: #b7b7b3; transition: background .2s; }
.access-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform .2s; }
.access-entity input:checked + .access-switch { background: var(--gold); }
.access-entity input:checked + .access-switch::after { transform: translateX(21px); }
.access-entity input:focus-visible + .access-switch { outline: 2px solid var(--gold); outline-offset: 4px; }
.access-panel fieldset { margin: 0; padding: 0; border: 0; }
.access-panel fieldset[hidden] { display: none; }
.access-panel legend { color: #727272; font-size: 12px; }
.access-panel .primary { min-height: 54px; font-size: 16px; }
.access-privacy, .access-status { font-size: 11px; line-height: 1.7; color: #777; }
.access-status { color: var(--gold); }
.privacy-link { position: relative; display: inline-block; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color .3s; }
.privacy-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left center; transition: transform .3s ease; }
.privacy-link:focus-visible { color: var(--gold); text-decoration-color: transparent; }
.privacy-link:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .privacy-link:hover { color: var(--gold); text-decoration-color: transparent; }
  .privacy-link:hover::after { transform: scaleX(1); }
}
.access-dialog button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (max-width: 1000px) { .access-dialog { width: 60vw; } }
@media (max-width: 600px) { .access-dialog { width: 92vw; padding: 90px 24px 24px; } }
@media (prefers-reduced-motion: reduce) { .access-dialog *, .access-dialog *::after { transition: none !important; } }

/* cursor.css */
.target-cursor { display: none; position: fixed; inset: 0; z-index: 10000; pointer-events: none; color: var(--gold); }
.target-dot, .target-ring { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.target-dot::before, .target-ring::before { content: ''; position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); border-radius: 50%; box-sizing: border-box; }
.target-dot::before { width: 5px; height: 5px; background: currentColor; }
.target-ring::before { width: 30px; height: 30px; border: 1px solid currentColor; }
@media (hover: hover) and (pointer: fine) {
  html.custom-cursor, html.custom-cursor * { cursor: none !important; }
  .custom-cursor .target-cursor { display: block; }
}

/* ../language-menu.css */
/* Hover opens one white tab: message on the left, spinning globe on the right. */
.language-trigger:lang(es){--language-hover-width:310px}
.language-trigger[hidden]{display:none!important}
.language-trigger{position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:110;display:flex;align-items:center;justify-content:center;width:48px;height:44px;padding:4px;box-sizing:border-box;background:#fff;color:#000;border:.5px solid rgba(8,8,8,.3);border-left:0;border-radius:0 6px 6px 0;cursor:pointer;overflow:hidden;transform-origin:left center;transition:width 1.1s cubic-bezier(.2,.8,.2,1),transform 1.1s cubic-bezier(.2,.8,.2,1),color .5s ease}
.language-globe{position:absolute;right:6px;top:4px;display:block;width:34px;height:34px;flex-shrink:0;transform:perspective(160px) rotateY(0);transform-origin:center;transition:transform 1.3s ease}
.language-tooltip{position:absolute;left:14px;top:50%;transform:translateY(-50%);padding:0;white-space:nowrap;font:500 13px/1.4 Inter,Arial,sans-serif;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .4s ease,visibility .4s ease}
.language-trigger:focus-visible,.language-panel button:focus-visible{outline:2px solid #b38b34;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.language-trigger:focus-visible{width:var(--language-hover-width,250px);transform:translateY(-50%) scale(1.71);color:#b38b34}@media (hover: hover) and (pointer: fine){.language-trigger:hover{width:var(--language-hover-width,250px);transform:translateY(-50%) scale(1.71);color:#b38b34}}.language-trigger:focus-visible .language-globe{transform:perspective(160px) rotateY(360deg)}@media (hover: hover) and (pointer: fine){.language-trigger:hover .language-globe{transform:perspective(160px) rotateY(360deg)}}.language-trigger:focus-visible .language-tooltip{opacity:1;visibility:visible;transition-delay:.4s}@media (hover: hover) and (pointer: fine){.language-trigger:hover .language-tooltip{opacity:1;visibility:visible;transition-delay:.4s}}
}
@media(max-width:800px){
 header .language-trigger,header .language-trigger:focus-visible{position:relative;inset:auto;transform:none;width:40px;height:44px;padding:7px;background:transparent;color:#000;border:0;border-radius:0;overflow:visible;flex-shrink:0;transition:none}
 header .language-trigger .language-globe{position:static;width:28px;height:28px;transform:none;transition:none}
 header .language-trigger .language-tooltip{display:none}
 .site-header{grid-template-columns:auto minmax(0,1fr) 40px 48px;column-gap:4px}
 .site-header .logo{grid-column:1;grid-row:1}
 .site-header .header-contact{position:static;grid-column:2;grid-row:1;justify-self:center;transform:none;font-size:9px;letter-spacing:.02em}
 .site-header .language-trigger{grid-column:3;grid-row:1}
 .site-header .menu-trigger{grid-column:4;grid-row:1;width:48px;height:44px}
 .about-header .language-trigger{order:1}
}
@media(prefers-reduced-motion:reduce){.language-trigger,.language-globe,.language-tooltip{transition:none}.language-trigger:focus-visible .language-globe{transform:none}@media (hover: hover) and (pointer: fine){.language-trigger:hover .language-globe{transform:none}}}
.language-panel{position:fixed;inset:0 auto 0 0;width:26.5vw;max-width:520px;height:100dvh;max-height:none;margin:0;padding:clamp(28px,3vw,48px);border:0;background:#f1f0eb;color:#080808;overflow:auto;box-sizing:border-box;transform:translateX(-100%);transition:transform .4s cubic-bezier(.2,.8,.2,1);overscroll-behavior:contain}
.language-panel.is-open{transform:translateX(0)}
.language-panel::backdrop{background:#0003;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.language-close{display:grid;place-items:center;width:40px;height:40px;margin:-8px 0 0 -8px;padding:0;border:0;background:none;color:#080808;cursor:pointer}
.language-close svg{width:30px;height:30px;stroke-width:1.3}
.language-caption{margin:clamp(36px,8vh,90px) 0 32px;font:500 11px/1.5 Inter,Arial,sans-serif;letter-spacing:.2em}
.language-caption::before{content:'';display:block;width:40px;height:2px;background:#b38b34;margin-bottom:14px}
.language-options{display:flex;flex-direction:column}
.language-option{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:clamp(100px,18vh,180px);padding:20px 0 20px 16px;text-align:left;background:none;border:0;border-bottom:1px solid #08080820;color:#080808;font:400 clamp(22px,2.7vw,48px)/1.15 Inter,Arial,sans-serif;letter-spacing:-.05em;cursor:pointer}
.language-option img{flex-shrink:0;width:72px;height:44px;object-fit:cover;border:1px solid #08080820;margin-left:auto}
@media(max-width:1100px){.language-panel{width:38vw}.language-option{font-size:clamp(22px,3.6vw,40px)}}
@media(max-width:800px){.language-panel{width:100vw;max-width:none;padding:28px}.language-option{font-size:clamp(25px,7.6vw,42px);min-height:18vh}.language-option img{width:48px;height:32px}.language-caption{margin-top:48px}}
@media(prefers-reduced-motion:reduce){.language-panel{transition:none}}

/* Lift the existing cursor above the modal without moving its viewport coordinates. */
.target-cursor:popover-open{position:fixed;inset:0;width:auto;height:auto;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:visible;pointer-events:none}


/* Shared Close size, right alignment and left-to-right gold underline. */
.language-panel .language-close{display:flex;align-items:center;justify-content:flex-start;position:relative;gap:21px;width:max-content;height:70px;margin:0 0 0 auto;padding:0;background:none;border:0;color:#080808;font:400 19.25px/1.4 Inter,Arial,sans-serif;letter-spacing:.12em;transition:color .25s ease}.language-panel .language-close:focus-visible{color:#b38b34}@media (hover: hover) and (pointer: fine){.language-panel .language-close:hover{color:#b38b34}}
.language-panel .language-close::after{content:'';position:absolute;left:0;bottom:8px;width:100%;height:1px;background:#b38b34;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}.language-panel .language-close:focus-visible::after{transform:scaleX(1)}@media (hover: hover) and (pointer: fine){.language-panel .language-close:hover::after{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.language-panel .language-close,.language-panel .language-close::after{transition:none}}
/* Match the main menu's language-label hover movement. */
.language-option>span{display:inline-block;transition:transform .3s ease,color .25s ease}.language-option:focus-visible>span{transform:translateX(12px);color:#b38b34}@media (hover: hover) and (pointer: fine){.language-option:hover>span{transform:translateX(12px);color:#b38b34}}
@media(prefers-reduced-motion:reduce){.language-option>span{transition:none}}

/* Preserve the handle's viewport position when promoted above project dialogs. */
.language-trigger:popover-open{right:auto;bottom:auto;margin:0;max-width:none;max-height:none;overflow:hidden}
.language-trigger::backdrop{background:transparent;pointer-events:none}

.language-option[aria-pressed=true]>span{color:#b38b34}.language-option[aria-pressed=true]:focus-visible>span{transform:none}@media (hover: hover) and (pointer: fine){.language-option[aria-pressed=true]:hover>span{transform:none}}


/* The language handle uses a black cursor in every page and modal. */
html.is-language-handle-hover .target-cursor{color:#080808!important}

/* Mobile language controls respond to taps without hover expansion or tooltips. */
@media(max-width:800px){
.language-trigger,.language-trigger:hover,.language-trigger:focus-visible{width:48px;transform:translateY(-50%);color:#000;transition:none}
header .language-trigger,header .language-trigger:hover,header .language-trigger:focus-visible{width:40px;transform:none}
.language-trigger .language-tooltip{display:none!important}
.language-trigger .language-globe,.language-trigger:hover .language-globe,.language-trigger:focus-visible .language-globe{transform:none;transition:none}
.language-option>span,.language-option:hover>span,.language-option:focus-visible>span{transform:none;transition:none;color:inherit}
.language-option[aria-pressed=true]>span{color:#b38b34}
.language-panel .language-close:hover{color:#080808}
.language-panel .language-close:hover::after{transform:scaleX(0)}
}
.reader-mobile-brand{display:none}
.spiral-reader-header{display:contents}
@media(max-width:800px){
.about-reader header.reader-mobile-header,.service-spiral header.reader-mobile-header{position:absolute;inset:0 0 auto;z-index:10;display:grid;grid-template-columns:minmax(0,1fr) auto 40px;align-items:center;gap:16px;width:auto;height:101px;padding:14px 5vw;border:0;border-top:3px solid #b08b2e;background:#f1f0eb;color:#080808;pointer-events:auto}
.reader-mobile-header .reader-mobile-brand{display:block;grid-column:1;grid-row:1;min-width:0}
.reader-mobile-brand .brand-mark{width:130px;max-width:100%}
.reader-mobile-brand .brand-mark::before{background:linear-gradient(90deg,#090909 0 66%,#b08b2e 66% 100%)}
.reader-mobile-header .about-reader-close,.reader-mobile-header .spiral-close{position:relative;inset:auto;grid-column:2;grid-row:1;font:400 19.25px/1.4 Inter,Arial,sans-serif;letter-spacing:.12em;gap:21px;min-height:70px;padding:0;color:#080808}
.reader-mobile-header .language-trigger{grid-column:3;grid-row:1}
.about-reader .about-reader-nav,.service-spiral .spiral-steps{top:112px}
.about-reader .about-reader-chapter{padding-top:170px}
.about-reader .has-long-content .about-reader-chapter-heading{top:150px}
}
/* ../legal-documents.css */
.legal-reader { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: 60vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border: 0; background: #f1f0eb; color: #080808; box-shadow: -16px 0 70px #0002; overflow: hidden; }
.legal-reader[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.legal-reader::backdrop { background: #1113; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.legal-reader .legal-reader-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(20px, 3vw, 48px); border: 0; border-bottom: 1px solid #b08b2e44; }
.legal-reader-header h2 { margin: 0; font: 500 clamp(16px, 1.5vw, 23px)/1.3 Inter, Arial, sans-serif; letter-spacing: -.02em; }
.legal-reader-close, .legal-reader-download { position: relative; display: inline-flex; align-items: center; gap: 21px; width: max-content; padding: 12px 0; border: 0; border-radius: 0; background: none; color: #080808; text-decoration: none; font: 400 19.25px/1.4 Inter, Arial, sans-serif; letter-spacing: .12em; cursor: pointer; transition: color .25s; }
.legal-reader-close::after, .legal-reader-download::after { content: ''; position: absolute; left: 0; bottom: 5px; width: 100%; height: 1px; background: #b08b2e; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.legal-reader-close:focus-visible, .legal-reader-download:focus-visible { color: #b08b2e; outline: 2px solid #b08b2e; outline-offset: 4px; }
.legal-reader-close:focus-visible::after, .legal-reader-download:focus-visible::after { transform: scaleX(1); }
.legal-reader-pages { overflow: auto; overscroll-behavior: contain; padding: 24px clamp(16px, 2.5vw, 40px); scrollbar-width: thin; scrollbar-color: #b08b2e #f1f0eb; }
.legal-reader-pages::-webkit-scrollbar { width: 6px; }
.legal-reader-pages::-webkit-scrollbar-thumb { background: #b08b2e; border-radius: 6px; }
.legal-reader-pages::-webkit-scrollbar-track { background: #f1f0eb; }
.legal-reader-pages::-webkit-scrollbar-button { display: none; }
.legal-pdf-page { position: relative; width: 100%; aspect-ratio: 210 / 297; margin: 0 auto 24px; background: white; box-shadow: 0 3px 18px #0001; overflow: hidden; }
.legal-pdf-page canvas { display: block; width: 100%; height: 100%; }
.legal-pdf-text { position: absolute; inset: 0; overflow: hidden; line-height: 1; text-align: initial; text-size-adjust: none; forced-color-adjust: none; transform-origin: 0 0; }
.legal-pdf-text :is(span, br) { position: absolute; color: transparent; white-space: pre; transform-origin: 0 0; cursor: text; }
.legal-pdf-text ::selection { background: #b08b2e55; color: transparent; }
.legal-reader .legal-reader-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0; padding: 12px clamp(20px, 3vw, 48px); border: 0; border-top: 1px solid #b08b2e44; background: #f1f0eb; }
.legal-reader-count { font: 400 13px/1.4 Consolas, monospace; letter-spacing: .1em; color: #777; }
.legal-reader-download { font-size: 13px; letter-spacing: .04em; }
.legal-reader-status { margin: 24px 0; color: #777; font: 400 14px/1.6 Inter, Arial, sans-serif; }
.legal-reader .target-cursor { color: #b08b2e !important; }
@media (hover: hover) and (pointer: fine) {
  .legal-reader-close:hover, .legal-reader-download:hover { color: #b08b2e; background: none; text-decoration: none; }
  .legal-reader-close:hover::after, .legal-reader-download:hover::after { transform: scaleX(1); }
}
@media (max-width: 800px) { .legal-reader { width: 100vw; } .legal-reader-close { font-size: 16px; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .legal-reader *, .legal-reader *::after { transition: none !important; } }

.legal-reader-brand{display:none}
@media(max-width:800px){
.legal-reader .legal-reader-header{display:grid;grid-template-columns:minmax(0,1fr) auto 40px;column-gap:16px;row-gap:12px;padding:14px 5vw;border-top:3px solid #b08b2e}
.legal-reader-brand{display:block;grid-column:1;grid-row:1;min-width:0}
.legal-reader-brand .brand-mark{width:130px;max-width:100%}
.legal-reader-brand .brand-mark::before{background:linear-gradient(90deg,#090909 0 66%,#b08b2e 66% 100%)}
.legal-reader-header .legal-reader-close{grid-column:2;grid-row:1;font-size:19.25px;gap:21px;min-height:70px;padding:0}
.legal-reader-header .language-trigger{grid-column:3;grid-row:1}
.legal-reader-header h2{grid-column:1/-1;grid-row:2;font-size:16px}
}