/* The entrance belongs to the same film: warm copper, deep shadows, quiet type. */
html:has(#experience-gate[open]) { overflow:hidden; }
#experience-gate {
  --gate-cream:#f4e8d7;
  --gate-copper:#d3a273;
  --focus-ring:#e5ba85;
  --gate-space:clamp(28px,5vw,88px);
  position:fixed;
  inset:0;
  width:100%;
  max-width:none;
  height:100dvh;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  color:var(--gate-cream);
  background:#130d09;
  overflow:auto;
  overscroll-behavior:contain;
  isolation:isolate;
}
#experience-gate:not([open]) { display:none; }
#experience-gate::backdrop { background:#130d09; }
.gate-scene { position:absolute; z-index:-2; inset:0; width:100%; height:100%; overflow:hidden; margin:0; }
.gate-scene img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:65% center; }
#experience-gate::before {
  position:absolute;
  z-index:-1;
  content:'';
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(13,9,7,.97),rgba(13,9,7,.86) 29%,rgba(13,9,7,.56) 48%,rgba(13,9,7,.04) 78%),linear-gradient(0deg,rgba(13,9,7,.9),transparent 30%,transparent 72%,rgba(13,9,7,.42));
}
.gate-layout {
  display:flex;
  flex-direction:column;
  min-height:100dvh;
  padding:clamp(28px,4vh,48px) var(--gate-space) 28px;
}
.gate-masthead { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.gate-brand { color:#f4e8d7; font:400 25px/1.12 var(--serif,Georgia,serif); letter-spacing:-.5px; }
.gate-brand small { display:block; margin-top:8px; color:#c8ad95; font:8px/1.4 var(--sans,Arial,sans-serif); letter-spacing:2px; }
.gate-edition { color:#d6b89a; font:10px/1.5 var(--sans,Arial,sans-serif); letter-spacing:.1px; text-align:right; }
.gate-copy { width:min(100%,590px); padding:40px 0; margin:auto 0; }
.gate-kicker { margin:0 0 22px; color:#e5ba85; font-size:9px; letter-spacing:2.8px; line-height:1.6; }
#experience-gate [data-gate-title] {
  outline:none;
  max-width:590px;
  font:400 clamp(54px,5.7vw,86px)/1.01 var(--serif,Georgia,serif);
  letter-spacing:-.045em;
  text-wrap:balance;
  text-shadow:0 3px 28px #0003;
}
#experience-gate [data-gate-title] span,
#experience-gate [data-gate-title] em { display:block; }
#experience-gate [data-gate-title] em { color:var(--gate-copper); }
#experience-gate [data-gate-note] { max-width:400px; min-height:5.4em; margin:25px 0 0; color:#e0cbbb; font-size:13px; line-height:1.8; }
.gate-loading { max-width:430px; margin:25px 0 0; }
.gate-loading-label { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:12px; }
#experience-gate [data-gate-status] { color:#d6b89a; font-size:9px; line-height:1.4; letter-spacing:1.3px; text-transform:uppercase; }
#experience-gate [data-gate-percent] { color:#edcba0; font:italic 48px/1 var(--serif,Georgia,serif); font-variant-numeric:tabular-nums; letter-spacing:-1px; }
#experience-gate progress { display:block; width:100%; height:2px; border:0; border-radius:0; color:#d3a273; background:#b391723d; appearance:none; }
#experience-gate progress::-webkit-progress-bar { background:#b391723d; }
#experience-gate progress::-webkit-progress-value { background:#e5ba85; }
#experience-gate progress::-moz-progress-bar { background:#e5ba85; }
#experience-gate [data-gate-detail] { max-width:430px; min-height:1.7em; margin:12px 0 0; color:#baa18d; font-size:10px; line-height:1.7; }
.gate-actions { display:flex; flex-direction:column; align-items:flex-start; width:min(100%,430px); margin-top:25px; }
#experience-gate [data-gate-start] { display:flex; align-items:center; justify-content:space-between; gap:30px; width:100%; min-height:52px; padding:15px 21px; border:1px solid #e5ba858c; border-radius:0; color:#f4e8d7; background:#23170f99; font-size:12px; letter-spacing:.2px; transition:background .2s ease,color .2s ease,border-color .2s ease; }
#experience-gate [data-gate-start]::after { content:'→'; font-size:20px; line-height:1; }
#experience-gate [data-gate-start]:disabled { color:#ccb79f; border-color:#d3a27340; background:#130d0980; cursor:wait; }
#experience-gate[data-state='ready'] [data-gate-start] { color:#21140d; background:#edcba0; border-color:#edcba0; }
#experience-gate[data-state='ready'] [data-gate-start]:hover { background:#f4dfc3; border-color:#f4dfc3; }
#experience-gate [data-gate-skip] { min-height:44px; margin-top:12px; padding:10px 0; border:0; border-radius:0; color:#f0d0a8; background:transparent; font-size:12px; text-decoration:underline; text-decoration-color:#be93698c; text-underline-offset:6px; }
#experience-gate [data-gate-skip]:hover { color:#fff2dc; text-decoration-color:currentColor; }
.gate-static-note { margin:0; color:#c7ae99; font-size:10px; line-height:1.6; }
.gate-chapters { display:flex; gap:clamp(20px,4vw,62px); width:100%; margin:0; padding:20px 0 0; border-top:1px solid #d3a27338; list-style:none; color:#dfc3a8; }
.gate-chapters li { font-size:10px; line-height:1.5; }
.gate-chapters span { margin-right:10px; color:#b89473; font-size:8px; }
#experience-gate[data-state='error'] [data-gate-start] { display:none; }
#experience-gate[data-state='error'] .gate-loading { opacity:.45; }
@media(min-width:681px) and (max-height:850px) {
  .gate-layout { padding-top:25px; padding-bottom:20px; }
  .gate-copy { padding:28px 0; }
  .gate-kicker { margin-bottom:15px; }
  #experience-gate [data-gate-title] { font-size:clamp(52px,5.4vw,73px); }
  #experience-gate [data-gate-note] { margin-top:18px; min-height:0; }
  .gate-loading { margin-top:17px; }
  .gate-actions { margin-top:18px; }
}
@media(max-width:680px) {
  #experience-gate { --gate-space:26px; }
  .gate-layout { padding-top:26px; padding-bottom:22px; }
  .gate-scene img { object-position:65% center; }
  #experience-gate::before { background:linear-gradient(90deg,rgba(13,9,7,.77),rgba(13,9,7,.42)),linear-gradient(180deg,rgba(13,9,7,.45),rgba(13,9,7,.35) 30%,rgba(13,9,7,.55) 62%,rgba(13,9,7,.86)); }
  .gate-brand { font-size:23px; }
  .gate-brand small { font-size:7px; letter-spacing:1.7px; }
  .gate-masthead { gap:16px; }
  .gate-edition { max-width:110px; }
  .gate-copy { padding:32px 0; }
  .gate-kicker { margin-bottom:16px; font-size:8px; letter-spacing:2px; }
  #experience-gate [data-gate-title] { font-size:clamp(44px,12.8vw,66px); max-width:430px; }
  #experience-gate [data-gate-note] { max-width:365px; min-height:0; margin-top:20px; font-size:12px; line-height:1.8; }
  .gate-loading { margin-top:24px; }
  #experience-gate [data-gate-percent] { font-size:43px; }
  #experience-gate [data-gate-detail] { font-size:10px; max-width:290px; }
  .gate-actions { margin-top:23px; }
  #experience-gate [data-gate-start] { min-height:51px; }
  .gate-static-note { max-width:280px; font-size:10px; }
  .gate-chapters { justify-content:space-between; gap:8px; padding-top:17px; }
  .gate-chapters li { font-size:9px; }
  .gate-chapters span { display:block; margin:0 0 5px; font-size:7px; }
}
@media(max-width:680px) and (max-height:730px) {
  .gate-layout { padding-top:22px; padding-bottom:17px; }
  .gate-copy { padding:23px 0; }
  .gate-kicker { margin-bottom:10px; }
  #experience-gate [data-gate-title] { font-size:clamp(41px,11.3vw,58px); }
  #experience-gate [data-gate-note] { margin-top:14px; }
  .gate-loading { margin-top:16px; }
  .gate-actions { margin-top:17px; }
  #experience-gate [data-gate-skip] { margin-top:6px; }
}
@media(prefers-reduced-motion:reduce) { #experience-gate * { transition:none; } }

#experience-gate button { touch-action:manipulation; }
.gate-scene { pointer-events:none; }
@media(max-width:680px) {
 .gate-layout { padding-top:max(22px,env(safe-area-inset-top,0px)); padding-bottom:max(22px,env(safe-area-inset-bottom,0px)); }
}
@media(max-height:500px) and (min-aspect-ratio:6/5) {
 #experience-gate { --gate-space:24px; }
 .gate-layout { padding-top:max(18px,env(safe-area-inset-top,0px)); padding-bottom:max(18px,env(safe-area-inset-bottom,0px)); }
 .gate-copy { display:grid; grid-template-columns:1fr 1fr; column-gap:36px; width:100%; padding:24px 0; }
 .gate-kicker { grid-column:1; grid-row:1; margin-bottom:12px; }
 #experience-gate [data-gate-title] { grid-column:1; grid-row:2; font-size:clamp(44px,6vw,60px); }
 #experience-gate [data-gate-note] { grid-column:1; grid-row:3; margin-top:18px; font-size:12px; line-height:1.7; }
 .gate-loading { grid-column:2; grid-row:1; align-self:end; width:100%; margin-top:0; }
 #experience-gate [data-gate-detail] { grid-column:2; grid-row:2; min-height:0; margin-top:12px; }
 .gate-actions { grid-column:2; grid-row:3; margin-top:0; }
 #experience-gate [data-gate-skip] { margin-top:4px; }
 .gate-chapters { padding-top:14px; }
}
