/* Bitácora Pro 0.1 — isolated design system. No global theme overrides. */
.bop, .bop * { box-sizing: border-box; }
.bop { --bp-black:#090b0c; --bp-deep:#14181a; --bp-white:#f7f5ef; --bp-mute:#bbc0bd; --bp-accent:#dca65d; --bp-border:#3b4041; color:var(--bp-white); background:var(--bp-black); font-family:Arial,Helvetica,sans-serif; line-height:1.55; width:100%; overflow:hidden; }
.bop h1,.bop h2,.bop h3 { color:var(--bp-white); font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif; text-transform:uppercase; font-weight:800; letter-spacing:.012em; line-height:1.02; margin:0; }
.bop a { color:inherit; text-decoration:none; }
.bop a:hover { color:var(--bp-accent); }
.bop button { cursor:pointer; }
.bop button:focus-visible,.bop a:focus-visible { outline:3px solid var(--bp-accent); outline-offset:3px; }
.bop .bop-kicker { font:700 .76rem/1.25 Arial,sans-serif; text-transform:uppercase; letter-spacing:.19em; color:var(--bp-accent); display:block; }
.bop p { font-size:clamp(.95rem,1.4vw,1.15rem); color:var(--bp-mute); margin:1rem 0; }
.bop-hero { height:min(78vh,790px); min-height:490px; width:100%; position:relative; display:flex; align-items:end; background:linear-gradient(125deg,#151a1b,#060809); }
.bop-hero-video, .bop-hero-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background-size:cover; background-position:center; }
.bop-hero-shade { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.94),rgba(0,0,0,.14) 65%,rgba(0,0,0,.4)); pointer-events:none; }
.bop-hero-content { position:relative; z-index:1; width:min(1280px,100%); margin:auto auto 3rem; padding:1rem clamp(1rem,5vw,4rem); }
.bop-site-logo { width:min(160px,30vw); margin:2rem 0 1rem; }
.bop-site-logo img { max-width:100%; height:auto; }
.bop h1 { font-size:clamp(3.2rem,8.4vw,8.4rem); max-width:1150px; letter-spacing:-.015em; }
.bop-hero-content p { color:#f8f8f4; max-width:680px; font-size:clamp(1rem,1.7vw,1.4rem); }
.bop-three-cta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0; gap:4px; padding:4px; background:var(--bp-black); }
.bop-cta { min-height:clamp(175px,19vw,270px); position:relative; display:flex; align-items:end; justify-content:space-between; gap:1rem; padding:clamp(1rem,2.2vw,2.1rem); background-color:#202627; background-size:cover; background-position:center; isolation:isolate; overflow:hidden; }
.bop-cta:nth-child(2) { background-color:#28302b; }
.bop-cta:nth-child(3) { background-color:#24242a; }
.bop-cta video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.bop-cta-shade { z-index:-1; position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.87),rgba(0,0,0,.15)); transition:background .2s ease; }
.bop-cta strong { font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif; font-size:clamp(1.45rem,2.5vw,2.5rem); letter-spacing:.02em; text-transform:uppercase; line-height:1; }
.bop-cta-arrow { font-size:1.6rem; color:var(--bp-accent); }
.bop-unlinked { cursor:default; }
.bop-section { padding:clamp(3.5rem,7vw,7rem) clamp(1rem,5vw,4rem); width:min(1450px,100%); margin:0 auto; }
.bop-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); align-items:end; gap:1rem 3rem; padding-bottom:2rem; border-bottom:1px solid var(--bp-border); margin-bottom:2rem; }
.bop-heading .bop-kicker { grid-column:1; }
.bop-heading h2 { font-size:clamp(2.6rem,5.8vw,6.2rem); grid-column:2; }
.bop-heading p { grid-column:2; max-width:600px; margin:0; }
.bop-feature { display:grid; grid-template-columns:1fr 1.1fr; min-height:380px; gap:2rem; align-items:center; }
.bop-feature h3 { font-size:clamp(2rem,3.6vw,4rem); margin:1.2rem 0; }
.bop-visual-placeholder { display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; min-height:385px; background:linear-gradient(135deg,#232c2d,#0f1315); color:#ddd; border:1px solid var(--bp-border); font:3rem Impact,Arial,sans-serif; }
.bop-visual-placeholder small { font:normal .95rem/1.6 Arial,sans-serif; color:var(--bp-mute); margin-top:1rem; }
.bop-button { display:inline-block; padding:.85rem 1.3rem; background:var(--bp-accent); color:#0b0b0b!important; border:1px solid var(--bp-accent); font-size:.8rem; font-weight:800; letter-spacing:.07em; margin-top:1.1rem; text-transform:uppercase; }
.bop-outline { background:transparent; color:var(--bp-white)!important; margin-top:3rem; }
.bop-issue-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1rem,2vw,2.5rem); }
.bop-magazine .bop-issue-grid { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.bop-issue .bop-cover { overflow:hidden; aspect-ratio:3/4; background:#1b2021; }
.bop-cover img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.bop-issue:hover .bop-cover img { transform:scale(1.035); }
.bop-placeholder { background:#263030; display:grid; place-content:center; text-align:center; aspect-ratio:3/4; color:#cdd1cf; font:2rem Impact,Arial,sans-serif; }
.bop-issue .bop-kicker { margin-top:1.3rem; }
.bop-issue h3 { font-size:clamp(1.2rem,2vw,2.1rem); margin:.6rem 0; }
.bop-issue a { font-size:.85rem; font-weight:800; letter-spacing:.05em; }
.bop-issue .bop-not-ready { color:var(--bp-mute); font-size:.8rem; }
.bop-story-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; }
.bop-story img,.bop-story .bop-placeholder { width:100%; aspect-ratio:4/3; object-fit:cover; }
.bop-story .bop-kicker { margin-top:1.1rem; }
.bop-story h3 { font-size:clamp(1.5rem,2.1vw,2.4rem); margin:.5rem 0; }
.bop-home-bottom { border-top:1px solid var(--bp-border); display:flex; justify-content:space-between; gap:2rem; align-items:end; }
.bop-home-bottom h2 { font-size:clamp(2.2rem,4vw,5rem); max-width:650px; margin:1.2rem 0; }
.bop-panel-link { padding:2rem; border:1px solid var(--bp-border); min-width:250px; font-weight:800; }
.bop-intro { min-height:clamp(390px,55vw,610px); background:linear-gradient(120deg,#151b1d,#08090a); display:flex; flex-direction:column; justify-content:end; padding:4rem clamp(1rem,5vw,4rem); }
.bop-intro h1 { margin:1rem 0; }
.bop-intro p { max-width:700px; color:var(--bp-white); }
.bop-store-intro { background:linear-gradient(120deg,#171d20,#111412 58%,#080909); }
.bop-products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.2rem; }
.bop-product { padding-bottom:1.2rem; }
.bop-product img,.bop-product .bop-placeholder { display:block; width:100%; aspect-ratio:3/4; object-fit:cover; background:#d5d9d6; }
.bop-product h3 { font:800 1.05rem/1.25 Arial,sans-serif; text-transform:none; letter-spacing:0; margin:1rem 0 .4rem; }
.bop-price { color:var(--bp-white); font-size:.97rem; margin:.5rem 0; }
.bop-price * { color:inherit; }
.bop-product-link { font-size:.75rem; font-weight:800; letter-spacing:.06em; }
/* Reader: PDF.js progressive rendering + CSS 3D turning sheet. */
.bop-reader { width:100%; min-height:650px; padding:1.1rem; }
.bop-reader-bar { display:flex; gap:1rem; flex-wrap:wrap; justify-content:space-between; align-items:center; border-bottom:1px solid var(--bp-border); padding:.7rem .5rem 1.1rem; }
.bop-reader-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem; }
.bop-reader-actions button { background:#252a2c; color:#fff; border:1px solid #464d4d; border-radius:4px; padding:.4rem .68rem; min-width:2.2rem; }
.bop-reader-actions button:hover,.bop-reader-actions button[aria-pressed="true"] { background:var(--bp-accent); color:#131313; }
.bop-reader-actions button:disabled { opacity:.3; cursor:not-allowed; }
.bop-page-indicator { min-width:3.5rem; text-align:center; color:var(--bp-white); font-size:.88rem; }
.bop-reader-stage { background:radial-gradient(ellipse,#2c3031 0%,#101314 75%); overflow:auto; padding:1rem; display:flex; justify-content:center; align-items:center; min-height:600px; touch-action:pan-y; }
.bop-spread { position:relative; display:flex; width:min(100%,930px); aspect-ratio:1.545; filter:drop-shadow(0 16px 20px rgba(0,0,0,.55)); perspective:1500px; }
.bop-page { background:#ebeae5; width:50%; height:100%; position:relative; overflow:hidden; display:flex; align-items:stretch; }
.bop-page canvas { display:block; width:100%; height:100%; object-fit:contain; }
.bop-page.bop-left { box-shadow:inset -17px 0 28px -24px rgba(0,0,0,.6); }
.bop-page.bop-right { box-shadow:inset 17px 0 28px -24px rgba(0,0,0,.6); }
.bop-turn-page { position:absolute; z-index:5; inset:0 0 0 50%; width:50%; background-color:#eee; background-size:100% 100%; transform-origin:left center; backface-visibility:hidden; opacity:0; pointer-events:none; }
.bop-turn-page.bop-turn-next { animation:bop-turn-next .65s cubic-bezier(.4,.04,.15,1) forwards; }
.bop-turn-page.bop-turn-prev { left:0; transform-origin:right center; animation:bop-turn-prev .65s cubic-bezier(.4,.04,.15,1) forwards; }
@keyframes bop-turn-next { 0% {opacity:1; transform:rotateY(0deg); box-shadow:8px 1px 10px #1115;} 50% {opacity:1; box-shadow:24px 12px 22px #111b;} 100% {opacity:0; transform:rotateY(-179deg); } }
@keyframes bop-turn-prev { 0% {opacity:1; transform:rotateY(0deg); box-shadow:-8px 1px 10px #1115;} 50% {opacity:1; box-shadow:-24px 12px 22px #111b;} 100% {opacity:0; transform:rotateY(179deg);} }
.bop-reader-status { text-align:center; min-height:2rem; font-size:.85rem; padding:.7rem; color:var(--bp-mute); }
.bop-reader:fullscreen { padding:1rem; display:flex; flex-direction:column; }
.bop-reader:fullscreen .bop-reader-stage { flex:1; }
.bop-reader iframe { width:100%; height:73vh; border:0; background:#fff; }
@media (max-width:850px) {
 .bop-heading { display:block; }
 .bop-heading h2 { margin:1rem 0; }
 .bop-three-cta { grid-template-columns:1fr; }
 .bop-cta { min-height:165px; }
 .bop-feature { grid-template-columns:1fr; }
 .bop-issue-grid,.bop-story-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bop-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bop-home-bottom { display:block; }
 .bop-panel-link { display:block; margin-top:2rem; }
 .bop-reader-stage { min-height:440px; padding:.5rem; }
 .bop-spread { aspect-ratio:.773; max-width:440px; }
 .bop-page { width:100%; }
 .bop-page.bop-left { display:none; }
 .bop-page.bop-right { width:100%; }
 .bop-turn-page { left:0; width:100%; }
}
@media (max-width:530px) {
 .bop-hero { min-height:470px; height:72vh; }
 .bop-hero-content { margin-bottom:2rem; }
 .bop h1 { font-size:clamp(2.75rem,12vw,4.5rem); }
 .bop-issue-grid,.bop-story-grid { grid-template-columns:1fr; }
 .bop-magazine .bop-issue-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bop-section { padding:3rem 1rem; }
 .bop-reader-actions { gap:.2rem; }
 .bop-reader-actions button { padding:.4rem; }
}
@media (prefers-reduced-motion:reduce) {
 .bop-turn-page.bop-turn-next,.bop-turn-page.bop-turn-prev { animation-duration:.01ms; }
 .bop-cover img { transition:none; }
}
