/* TorreyPress long tail on DS2 (legal v2). Loads after /ds2/torreypress.css, /ds2/pages.css and /ds2/doc.css.
   Restyles the content classes the older pages still use, with DS2 tokens only. Scoped to body.tp-long.
   Phone first (390 px); one breakpoint at 900 px. Decorative old parts (marquee tape, stamps, sun circles) are hidden. */

.tp-long{--sun:var(--bar-bg);--cream:#FFFDF8}
.tp-long main{display:block;padding-bottom:24px}
.tp-long main h1{font-size:clamp(2.25rem,9vw,4rem);text-wrap:balance}
.tp-long main h2{font-size:clamp(1.625rem,6.5vw,2.5rem);text-wrap:balance}
.tp-long main p{margin-top:12px}
.tp-long main ul,.tp-long main ol{margin-top:12px}
.tp-long main a:not(.btn):not(.tp-button){text-underline-offset:3px}
.tp-long .tape,.tp-long .stamp,.tp-long .sunc,.tp-long .code{display:none}
.tp-long .d{font-family:var(--font-head);font-weight:var(--head-weight)}

/* sections */
.tp-long .sec,.tp-long .hero,.tp-long .incl{padding:48px 0}
.tp-long .sec + .sec,.tp-long .hero + .sec,.tp-long .sec + .incl,.tp-long .incl + .sec{border-top:1px solid var(--line)}
/* DS2 .hero is the full-bleed photo band; these old pages use .hero for a plain text-and-poster intro */
.tp-long .hero{position:static;min-height:0;display:block;color:var(--ink);background:var(--paper);overflow:visible;padding-top:28px}
.tp-long .hero::after{content:none}
.tp-long .hero h1{max-width:none}
/* DS2 .chip is a radio-card; on rentals it is a small art label */
.tp-long .tk .chip{min-height:0;padding:0;border:0;background:none;justify-content:flex-start;cursor:default}
.tp-long .kick{display:inline-block;font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.tp-long .kick[style]{padding:4px 10px;border-radius:999px;letter-spacing:.04em}
.tp-long .gh span,.tp-long .hero h1 span{display:inline}
.tp-long .hero h1 .o,.tp-long .gh .o{font-style:italic}
.tp-long .lede{font-size:1.125rem;color:var(--muted);max-width:60ch}
.tp-long .hero .lede{margin-top:16px}
.tp-long .tp-mockup-action{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:20px}
.tp-long .tp-mockup-action .btn{margin-top:0}
.tp-long .from{display:inline-block;font-size:.9375rem;color:var(--muted);margin-left:12px}
.tp-long .tp-mockup-action .from{margin-left:0}
.tp-long .after{font-size:.9375rem;color:var(--muted);max-width:60ch}
.tp-long .after a{display:inline-flex;align-items:center;min-height:44px}
.tp-long .hero .btn,.tp-long .route .btn,.tp-long .final .btn,.tp-long .incl .btn{margin-top:20px}
.tp-long .facts{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px}
.tp-long .facts li{border-top:1px solid var(--line);padding-top:12px}
.tp-long .facts b{display:block}
.tp-long .facts span{color:var(--muted)}

/* art */
.tp-long .poster{margin:28px 0 0}
.tp-long .poster .arch img{width:100%;border-radius:var(--radius);background:var(--surface)}
.tp-long figcaption{margin-top:10px}
.tp-long .pt{font-size:1.125rem}
.tp-long .ps{font-size:.9375rem;color:var(--muted)}
.tp-long .picks,.tp-long .grid{display:grid;gap:28px;margin-top:28px}
.tp-long .pc{margin:0}
.tp-long .pc .no{display:block;font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.tp-long .pc img{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:var(--radius);background:var(--surface)}
.tp-long .pc h3{margin-top:12px}
.tp-long .pc p{margin-top:6px;color:var(--muted);font-size:.9375rem}
.tp-long .flat{font-size:.9375rem;color:var(--muted)}

/* steps */
.tp-long .stops{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px;counter-reset:st}
.tp-long .stops li{counter-increment:st;background:var(--surface);border-radius:var(--radius);padding:16px 16px 16px 56px;position:relative}
.tp-long .stops li::before{content:counter(st);position:absolute;left:16px;top:16px;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700;font-size:.875rem;display:grid;place-items:center}
.tp-long .stops b{display:block}
.tp-long .stops span{display:block;color:var(--muted);margin-top:4px}

/* price rows */
.tp-long .srow{border-top:1px solid var(--line)}
.tp-long .srow:last-child{border-bottom:1px solid var(--line)}
.tp-long .srow .wrap{display:grid;grid-template-columns:auto 1fr;gap:4px 16px;align-items:baseline;padding-top:18px;padding-bottom:18px}
.tp-long .srow .pr{font-size:1.75rem;line-height:1.1;font-variant-numeric:tabular-nums;grid-row:span 2}
.tp-long .srow .pr small{font-size:.6em;vertical-align:.35em}
.tp-long .srow .nm{font-weight:600;font-family:var(--font-body)}
.tp-long .srow .nm .q{display:block;font-weight:400;color:var(--muted);font-size:.9375rem}
.tp-long .srow p{grid-column:2;margin-top:4px;font-size:.9375rem}
.tp-long .srow p a{display:inline-flex;align-items:center;min-height:44px}
.tp-long .tags .wrap + .srow{margin-top:24px}

/* questions */
.tp-long .two{display:grid;gap:12px}
.tp-long .faq details{border-bottom:1px solid var(--line)}
.tp-long .faq summary{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font-weight:600;list-style:none;padding:12px 0}
.tp-long .faq summary::-webkit-details-marker{display:none}
.tp-long .faq summary::after{content:"+";font-size:1.5rem;font-weight:400;line-height:1}
.tp-long .faq details[open] summary::after{content:"\2212"}
.tp-long .faq details p{margin:0 0 16px;color:var(--muted)}

/* nearby links and related links */
.tp-long .near,.tp-long .answer-links{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:8px}
.tp-long .near a,.tp-long .answer-links a{display:flex;align-items:center;min-height:52px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;font-weight:600}
.tp-long .near a:hover,.tp-long .answer-links a:hover{border-color:var(--ink)}
.tp-long .final{background:var(--surface);text-align:center}
.tp-long .final h2{max-width:22ch;margin:0 auto}
.tp-long .final .after{margin-left:auto;margin-right:auto}
.tp-long .final .lede{margin-left:auto;margin-right:auto}

/* rentals: room cards, sample plan, included band */
.tp-long .tix,.tp-long .notes{display:grid;gap:16px;margin-top:28px}
.tp-long .tk,.tp-long .note{border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.tp-long .tk h3,.tp-long .note h3{font-size:1.25rem}
.tp-long .tk p,.tp-long .note p{color:var(--muted);margin-top:6px}
.tp-long .chip{display:flex;align-items:center;gap:12px;margin-top:14px;font-weight:600;font-size:.9375rem}
.tp-long .chip img{width:64px;height:48px;object-fit:cover;border-radius:var(--radius)}
.tp-long .map{display:grid;gap:24px;margin-top:32px}
.tp-long .map svg{width:100%;height:auto;display:block}
.tp-long .rn{font:13px var(--font-body);fill:var(--ink)}
.tp-long .wall{stroke:var(--sun);stroke-width:8;stroke-linecap:round}
.tp-long .pin circle{fill:var(--ink)}
.tp-long .pin text{fill:#fff;font:600 12px var(--font-body);text-anchor:middle}
.tp-long .legend{list-style:none;padding:0;margin:16px 0 0}
.tp-long .legend li{display:flex;gap:12px;border-bottom:1px solid var(--line);padding:10px 0}
.tp-long .legend b{min-width:28px}
.tp-long .total{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.tp-long .total .big{font-size:2rem;line-height:1.1;font-variant-numeric:tabular-nums}
.tp-long .small{font-size:.9375rem;color:var(--muted)}
.tp-long .incl{background:var(--ink);color:#fff}
.tp-long .incl .wrap{display:grid;gap:8px}
.tp-long .incl ul{padding-left:20px;display:grid;gap:6px}
.tp-long .incl .btn{background:#fff;color:var(--ink)}

/* programs, about, photo credits, legacy sections */
.tp-long .lt-doc{padding-top:28px;padding-bottom:24px}
.tp-long .lt-doc .wrap{padding-left:0;padding-right:0;max-width:none}
.tp-long .tp-section{padding:40px 0;border-top:1px solid var(--line)}
.tp-long .tp-section-inner{max-width:720px}
.tp-long .tp-section-inner > * + *{margin-top:12px}
.tp-long .tp-section-inner h2{margin-top:28px}
.tp-long .tp-section-inner h2:first-child,.tp-long .tp-section-inner h1 + h2{margin-top:24px}
.tp-long .tp-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:8px;background:var(--accent);color:var(--on-accent);font-weight:600;text-decoration:none;margin-top:16px}
.tp-long .tp-button.secondary{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px currentColor}
.tp-long .table-scroll{overflow-x:auto;margin-top:24px}
.tp-long .tp-service-table,.tp-long .answer-table table{width:100%;border-collapse:collapse;font-size:.9375rem}
.tp-long .tp-service-table caption{text-align:left;font-weight:700;padding-bottom:8px}
.tp-long .tp-service-table th,.tp-long .tp-service-table td,.tp-long .answer-table th,.tp-long .answer-table td{text-align:left;padding:12px 8px 12px 0;border-bottom:1px solid var(--line);vertical-align:top}
.tp-long .tp-service-table td:last-child{white-space:nowrap}
.tp-long .ae17-program-pricing{margin-top:40px}
.tp-long .ae17-program-pricing .srow .wrap{padding-left:0;padding-right:0}
.tp-long .price-offer-explanation{color:var(--muted)}
.tp-long .program-quantity-note{margin-top:20px}
.tp-long .program-quantity-note a{display:inline-flex;align-items:center;min-height:44px}
.tp-long .program-grid{display:grid;gap:20px;margin-top:32px}
.tp-long .program-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:grid;grid-template-columns:120px 1fr}
.tp-long .program-card img{width:100%;height:100%;object-fit:cover;background:var(--surface)}
.tp-long .program-card > div{padding:14px 16px}
.tp-long .program-card h3{font-size:1.125rem}
.tp-long .program-card p{margin-top:4px;font-size:.9375rem;color:var(--muted)}
.tp-long .program-card .tp-button{margin-top:10px;min-height:44px;padding:0 16px;font-size:.9375rem}
.tp-long .answer-related{margin-top:40px}
.tp-long .answer-related h2{font-size:1.5rem}

/* guides */
.tp-long .answer-article{max-width:720px}
.tp-long .answer-article h2{margin-top:36px;font-size:1.5rem}
.tp-long .answer-article h3{margin-top:24px}
.tp-long .answer-article h1 + p{font-size:1.125rem}
.tp-long .answer-article .crumbs{font-size:.9375rem;color:var(--muted)}
.tp-long .answer-article .crumbs a{display:inline-flex;align-items:center;min-height:44px}
.tp-long .answer-article ul a{display:inline-flex;align-items:center;min-height:44px}
.tp-long .final .mail{display:inline-flex;align-items:center;min-height:44px;font-weight:600;margin-top:16px}
.tp-long .answer-table{overflow-x:auto;margin-top:20px}
.tp-long .answer-table:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

@media (min-width:900px){
  .tp-long .sec,.tp-long .hero,.tp-long .incl{padding:88px 0}
  .tp-long .hero{padding-top:56px}
  .tp-long .hero > .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:center}
  .tp-long .poster{margin:0}
  .tp-long .picks{grid-template-columns:repeat(3,1fr)}
  .tp-long .grid{grid-template-columns:repeat(4,1fr)}
  .tp-long .stops{grid-template-columns:repeat(3,1fr)}
  .tp-long .srow .wrap{grid-template-columns:160px 1fr 1.4fr;align-items:center}
  .tp-long .srow .pr{grid-row:auto;font-size:2.25rem}
  .tp-long .srow p{grid-column:auto;margin-top:0}
  .tp-long .two{grid-template-columns:1fr 2fr;gap:48px}
  .tp-long .near{grid-template-columns:repeat(2,1fr)}
  .tp-long .answer-links{grid-template-columns:repeat(2,1fr)}
  .tp-long .tix{grid-template-columns:repeat(2,1fr)}
  .tp-long .notes{grid-template-columns:repeat(2,1fr)}
  .tp-long .map{grid-template-columns:1.2fr 1fr;align-items:start}
  .tp-long .incl .wrap{grid-template-columns:2fr 1fr;align-items:center}
  .tp-long .program-grid{grid-template-columns:repeat(3,1fr)}
  .tp-long .program-card{grid-template-columns:1fr}
  .tp-long .program-card img{aspect-ratio:5/4;height:auto}
  .tp-long .lt-doc{padding-top:56px}
}

/* enterprise v2 2026-11-13: one look with home and shop */
.tp-long h1,.tp-long h2{max-width:none;text-wrap:balance}.tp-long .sec .lede{max-width:60ch}
