/* Ten Elyse · Revenue Roadmap showcase (v1.5, Rosewood Editorial; glow added to the Look inside button).
   Scoped to .te-sample and .te-modal. Colors, type, and corners follow index.html. */
.te-sample,.te-modal{--te-burg:#4F252C;--te-deep:#3E1A21;--te-rose:#8C4A55;--te-blush:#F3D5CB;--te-blush-2:#ECC3B6;--te-ink:#3A2125;--te-body:#5E4246;--te-line:#E7DCD6;--te-on-dark:#FBEFE8;--te-on-dark-muted:#E9D3CC;--te-serif:"Playfair Display",Georgia,"Times New Roman",serif;--te-sans:"DM Sans","Helvetica Neue",Arial,sans-serif;font-family:var(--te-sans);box-sizing:border-box}
.te-sample *,.te-modal *{box-sizing:border-box}
:where(.te-sample,.te-modal) button{font:inherit;cursor:pointer}
.te-modal button:focus-visible,.te-modal a:focus-visible,.te-modal [tabindex]:focus-visible{outline:3px solid var(--te-rose);outline-offset:3px;border-radius:4px}
.te-sample button:focus-visible,.te-sample a:focus-visible{outline:3px solid var(--te-blush);outline-offset:4px}

/* Section */
.te-sample{position:relative;isolation:isolate;overflow:hidden;color:var(--te-on-dark);background:var(--te-burg);padding:5.5rem 0 6rem}
.te-sample__orb{position:absolute;z-index:-1;pointer-events:none;border:1px solid rgba(243,213,203,.22);border-radius:50%}
.te-sample__orb--one{width:720px;height:720px;top:-560px;right:-240px}
.te-sample__orb--two{width:900px;height:900px;bottom:-840px;left:-300px}
.te-sample__inner{width:min(100% - 2.5rem,1200px);margin-inline:auto;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.te-kicker{display:flex;align-items:center;gap:.9rem;margin:0 0 1.2rem;font-family:var(--te-sans);font-size:.72rem;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--te-blush)}
.te-kicker span{width:40px;height:1px;background:rgba(243,213,203,.6)}
.te-sample h2{font-family:var(--te-serif);font-weight:400;font-size:clamp(2.6rem,5vw,4.2rem);line-height:1.05;letter-spacing:-.01em;color:var(--te-on-dark);margin:0 0 1.3rem}
.te-sample h2 em{font-style:italic;color:var(--te-blush)}
.te-sample__lead{max-width:46ch;color:var(--te-on-dark-muted);margin:0 0 1.5rem}
.te-sample__mini{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:0 0 2rem;max-width:560px}
.te-sample__mini li{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;border:1px solid rgba(243,213,203,.45);padding:.45rem .85rem;border-radius:999px;color:var(--te-on-dark)}
.te-sample__foot{font-family:var(--te-serif);font-style:italic;font-size:1.3rem;color:var(--te-on-dark-muted);margin:1.1rem 0 0}
.te-sample__foot + p a{color:var(--te-blush)}

/* Buttons: the homepage pill */
.te-btn{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;min-height:48px;padding:.85rem 1.4rem;font-family:var(--te-sans);font-size:.74rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;border:1px solid transparent;border-radius:999px;transition:background .2s}
.te-btn--blush{background:var(--te-blush);color:#4A1F27}
.te-btn--blush:hover{background:var(--te-blush-2)}
.te-btn--dark{background:var(--te-burg);color:var(--te-on-dark)}
.te-btn--dark:hover{background:var(--te-deep)}
/* A soft glow that pulses three times when the section comes into view (under 5 seconds), then stays lit */
.te-btn--glow{box-shadow:0 0 0 0 rgba(243,213,203,.6),0 0 30px 6px rgba(243,213,203,.35)}
.te-btn--glow.is-lit{animation:te-beacon 1.6s ease-out 3}
@keyframes te-beacon{0%{box-shadow:0 0 0 0 rgba(243,213,203,.7),0 0 30px 6px rgba(243,213,203,.35)}100%{box-shadow:0 0 0 22px rgba(243,213,203,0),0 0 30px 6px rgba(243,213,203,.35)}}

/* The clickable roadmap cover */
.te-sample__art{position:relative;display:block;border:0;padding:0;background:transparent;color:inherit;text-align:left;max-width:680px;width:100%;margin:auto;transform:rotate(-1deg);border-radius:14px}
.te-sample__backsheet{position:absolute;inset:14px -12px -12px 14px;background:var(--te-blush);transform:rotate(3deg);border-radius:14px;opacity:.85}
.te-sample__frame{position:relative;display:block;background:#FFFFFF;padding:12px;border-radius:14px;box-shadow:0 30px 60px -24px rgba(0,0,0,.6);transition:transform .25s ease}
.te-sample__art:hover .te-sample__frame{transform:translateY(-4px)}
.te-sample__framehead{display:flex;align-items:center;gap:6px;height:28px;padding:0 6px 8px;color:var(--te-body)}
.te-sample__framehead i,.te-modal__pagebar i{width:7px;height:7px;background:var(--te-rose);border-radius:50%;display:block}
.te-sample__framehead i:nth-child(2),.te-modal__pagebar i:nth-child(2){background:#C99B8C}
.te-sample__framehead i:nth-child(3),.te-modal__pagebar i:nth-child(3){background:var(--te-blush-2)}
.te-sample__framehead span{flex:1;text-align:center;font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;color:var(--te-body)}
.te-sample__frame img{display:block;width:100%;height:auto;aspect-ratio:1.56/1;object-fit:cover;object-position:center top;border-radius:10px}
.te-sample__stamp{position:absolute;bottom:-22px;right:26px;display:block;background:#FFFFFF;color:var(--te-rose);border-radius:10px;padding:.75rem 1.1rem;text-align:center;transform:rotate(3deg);box-shadow:0 10px 24px -12px rgba(0,0,0,.45);font-size:.62rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;line-height:1.5}
.te-sample__stamp em{display:block;font-family:var(--te-serif);font-size:1.3rem;font-weight:500;letter-spacing:0;text-transform:none;color:var(--te-ink)}

/* Viewer */
.te-modal[hidden],.te-modal__full[hidden],.te-modal__story[hidden]{display:none!important}
.te-modal{position:fixed;z-index:2147483200;inset:0;display:flex;align-items:center;justify-content:center;padding:clamp(10px,2vw,24px);color:var(--te-ink)}
.te-modal__shade{position:absolute;inset:0;background:rgba(46,18,23,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.te-modal__panel{position:relative;background:#FFFFFF;width:min(1440px,100%);height:min(900px,calc(100dvh - 24px));display:flex;flex-direction:column;overflow:hidden;border-radius:14px;box-shadow:0 30px 100px rgba(16,7,15,.6)}
.te-modal__topbar{flex:none;min-height:68px;padding:.8rem clamp(1rem,2.5vw,2.5rem);border-bottom:1px solid var(--te-line);display:flex;align-items:center;justify-content:space-between;gap:1.2rem}
.te-modal__brand{display:flex;flex-direction:column;line-height:1.15}
.te-modal__brand strong{font-family:var(--te-serif);font-weight:500;font-size:1.35rem;letter-spacing:.24em;color:var(--te-ink)}
.te-modal__brand span{font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;color:var(--te-body)}
.te-modal__right{display:flex;align-items:center;gap:1.4rem}
.te-modal__folio{font-size:.64rem;letter-spacing:.16em;text-transform:uppercase;color:var(--te-body)}
.te-modal__close-label{border:0;border-bottom:1px solid var(--te-rose);background:transparent;color:var(--te-burg);padding:.3rem 0;font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
.te-modal__close-label:hover{color:var(--te-rose)}
.te-modal__close{border:1px solid var(--te-line);background:#FFFFFF;border-radius:50%;width:44px;height:44px;color:var(--te-burg);display:flex;align-items:center;justify-content:center}
.te-modal__close span{font:300 30px/1 Arial,sans-serif;transform:translateY(-1px)}
.te-modal__close:hover{background:#F9ECE6}

.te-modal__story{display:flex;flex-direction:column;flex:1;min-height:0}
.te-modal__progress{display:flex;flex:none;gap:.75rem;max-width:1360px;width:100%;margin:0 auto;padding:1.1rem clamp(1.25rem,4vw,3.4rem) 0}
.te-progress{border:0;background:transparent;padding:.25rem 0;flex:1;text-align:left;display:flex;flex-direction:column;gap:.45rem;color:var(--te-rose)}
.te-progress span{font-size:.68rem;font-weight:600;letter-spacing:.16em}
.te-progress i{display:block;width:100%;height:3px;border-radius:3px;background:var(--te-line);transition:background .2s}
.te-progress.is-done i{background:var(--te-blush-2)}
.te-progress.is-active i{background:var(--te-burg)}
.te-progress.is-active span{color:var(--te-burg)}

.te-modal__slide{flex:1;min-height:0;max-width:1440px;width:100%;margin:0 auto;padding:clamp(1rem,3.6vh,2rem) clamp(1.25rem,4vw,3.4rem) clamp(1rem,2.5vh,1.6rem);display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(1.5rem,4vw,4rem)}
.te-modal__narrative{padding-top:clamp(.75rem,4.5vh,3rem);display:flex;flex-direction:column;align-items:flex-start}
.te-modal__count{display:flex;align-items:center;gap:.75rem;margin-bottom:2rem;font-size:.7rem;font-weight:500;letter-spacing:.16em;color:var(--te-body)}
.te-modal__count>span:first-child{font-family:var(--te-serif);font-size:3.2rem;line-height:1;letter-spacing:0;color:var(--te-rose)}
.te-modal__countline{background:var(--te-blush-2);width:36px;height:1px}
.te-modal__eyebrow{font-size:.72rem;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--te-rose);margin:0 0 .9rem}
.te-modal__narrative h2{font-family:var(--te-serif);font-weight:400;font-size:clamp(2.1rem,3.4vw,3.4rem);line-height:1.08;color:var(--te-ink);margin:0 0 1.4rem}
.te-modal__description{line-height:1.7;color:var(--te-body);max-width:44ch;margin:0 0 1.8rem}
.te-modal__aside{font-size:.66rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--te-body);margin:auto 0 1rem}
.te-modal__inoriginal{border:0;background:none;border-bottom:1px solid var(--te-rose);color:var(--te-burg);padding:0 0 .35rem;font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;text-align:left}

.te-modal__visual{min-height:0;display:flex;flex-direction:column;padding:10px;background:#F9ECE6;border:1px solid var(--te-line);border-radius:14px}
.te-modal__pagebar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:32px;padding:.4rem .75rem}
.te-modal__pagebar>span{display:flex;gap:5px}
.te-modal__pagebar b{font-size:.64rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--te-body);text-align:center}
.te-modal__pagebar small{font-size:.6rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--te-body)}
.te-modal__imagewrap{min-height:0;flex:1;background:#FFFFFF;border-radius:10px;overflow:auto;overscroll-behavior:contain;scrollbar-color:var(--te-blush-2) #F9ECE6}
.te-modal__imagewrap img{display:block;width:100%;height:auto}
.te-modal__imagecaption{display:flex;gap:.75rem;justify-content:space-between;align-items:center;font-size:.66rem;font-weight:500;letter-spacing:.1em;color:var(--te-body);margin:0;padding:.7rem .3rem .2rem}

.te-modal__footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:1.1rem;padding:1rem clamp(1.25rem,4vw,3.4rem) 1.3rem;border-top:1px solid var(--te-line)}
.te-modal__arrows{display:flex;align-items:center;gap:1rem}
.te-modal__arrows button{border:1px solid var(--te-line);background:transparent;min-height:44px;padding:.7rem 1.1rem;border-radius:999px;color:var(--te-burg);font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
.te-modal__arrows button:hover{background:#F9ECE6}
.te-modal__arrows button:disabled{opacity:.35;cursor:default}
.te-modal__arrows span{font-size:.7rem;font-weight:600;letter-spacing:.16em;color:var(--te-body)}

.te-modal__full{flex:1;display:flex;flex-direction:column;min-height:0}
.te-modal__fullhead{flex:none;display:flex;gap:1rem;align-items:center;justify-content:space-between;background:#F9ECE6;padding:.6rem clamp(1rem,3vw,2.6rem)}
.te-modal__fullhead span{font-size:.64rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--te-body)}
.te-modal__fullhead button,.te-modal__fullhead a{border:0;background:none;text-decoration:none;color:var(--te-burg);font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;padding:.6rem .4rem;cursor:pointer}
.te-modal__fullhead a:hover,.te-modal__fullhead button:hover{text-decoration:underline;text-underline-offset:4px}
.te-modal__full iframe{border:0;flex:1;min-height:0;width:100%;background:#FFFFFF}

@media (max-width:1050px){
  .te-sample__inner{grid-template-columns:1fr;max-width:760px}
  .te-sample__art{width:94%}
  .te-modal__slide{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:1.25rem}
  .te-modal__narrative{padding-top:.6rem}
  .te-modal__narrative h2{font-size:clamp(1.9rem,4vw,2.8rem)}
  .te-modal__count{margin-bottom:1rem}
}
@media (max-width:720px){
  .te-sample{padding:3.8rem 0 4.8rem}
  .te-sample__inner{gap:2.6rem}
  .te-sample h2{font-size:clamp(2.5rem,10vw,3.4rem)}
  .te-sample__framehead span{font-size:.5rem;letter-spacing:.12em}
  .te-sample__stamp{right:14px;bottom:-18px;font-size:.56rem}
  .te-sample__stamp em{font-size:1.1rem}
  .te-modal{padding:0}
  .te-modal__panel{width:100%;height:100dvh;border-radius:0}
  .te-modal__topbar{min-height:60px;padding:.55rem 1rem;padding-top:calc(.55rem + env(safe-area-inset-top,0px))}
  .te-modal__brand strong{font-size:1.1rem}
  .te-modal__brand span{font-size:.56rem;letter-spacing:.14em}
  .te-modal__folio,.te-modal__close-label{display:none}
  .te-modal__progress{padding:.75rem 1rem 0;gap:.45rem}
  .te-modal__slide{display:flex;flex-direction:column;gap:.75rem;padding:.9rem 1rem .8rem;overflow-y:auto}
  .te-modal__narrative{padding:0;flex:none}
  .te-modal__count,.te-modal__aside{display:none}
  .te-modal__eyebrow{font-size:.66rem;margin-bottom:.45rem}
  .te-modal__narrative h2{font-size:clamp(1.7rem,7vw,2.3rem);margin:0 0 .5rem}
  .te-modal__description{font-size:.9rem;line-height:1.55;margin:0 0 .6rem}
  .te-modal__visual{padding:7px;flex:0 0 auto}
  .te-modal__imagewrap{flex:0 0 auto;max-height:42vh}
  .te-modal__pagebar{min-height:26px;padding:.25rem .5rem}
  .te-modal__pagebar b{font-size:.56rem}
  .te-modal__pagebar small,.te-modal__imagecaption span:last-child{display:none}
  .te-modal__imagecaption{font-size:.66rem;padding:.45rem .2rem .1rem}
  .te-modal__footer{flex-direction:column;align-items:stretch;padding:.7rem 1rem calc(.9rem + env(safe-area-inset-bottom,0px));gap:.6rem}
  .te-modal__arrows{justify-content:space-between;gap:.5rem}
  .te-modal__arrows button{font-size:.64rem;padding:.6rem .8rem;letter-spacing:.1em}
  .te-modal__footer .te-btn--dark{width:100%}
  .te-modal__fullhead{flex-wrap:wrap;padding:.4rem .75rem;padding-top:calc(.4rem + env(safe-area-inset-top,0px))}
  .te-modal__fullhead span{display:none}
}
@media (prefers-reduced-motion:reduce){.te-sample *,.te-modal *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Nonvisual chapter status for assistive technology. */
.te-a11y-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
