/* pr.qubba.ai: the front page */
.hero-scene { background: #050506; }
.hero-press { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); z-index: 3; will-change: opacity, transform; }
.hero-after { position: absolute; inset: 0; z-index: 4; display: grid; align-content: end; gap: 0; padding: 0 var(--gutter) clamp(2rem, 7vh, 5rem); opacity: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 11, 13, .7) 0%, rgba(10, 11, 13, .15) 55%, rgba(10, 11, 13, 0) 100%); }
.hero-giant { margin: calc(-1 * var(--ink-t)) calc(-1 * var(--ink-x)) calc(-1 * var(--ink-b)) calc(-.04em - var(--ink-x)); transform: translateY(60px); }
.desk { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: center; padding-top: calc(var(--nav-h) + 2vh);
  background: radial-gradient(80% 60% at 50% 30%, #1b1a17 0%, #0a0a0b 70%); }

.paper {
  width: min(92vw, 1040px); max-height: calc(100svh - var(--nav-h) - 4vh); overflow: hidden;
  background: var(--paper); color: var(--paper-ink);
  padding: clamp(1.1rem, 2.6vw, 2.4rem) clamp(1.1rem, 3vw, 2.8rem);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), 0 2px 0 rgba(255, 255, 255, .08) inset;
  transform: rotate(-1.2deg);
  /* Keep zoom content rerasterized at its current scale. */
  font-size: .82rem; line-height: 1.45;
  background-image: linear-gradient(180deg, rgba(0,0,0,.02), transparent 30%, rgba(0,0,0,.03));
}
.masthead-top { display: flex; justify-content: space-between; gap: 1rem; font-size: .72rem; color: #5a544a; border-top: 1px solid #1a1712; border-bottom: 1px solid #1a1712; padding: .3rem 0; }
.masthead-name { font-family: var(--display); font-size: clamp(2.4rem, 6.5vw, 5.4rem); line-height: 1; text-align: center; padding: .6rem 0 .5rem; letter-spacing: -.01em; }
.masthead-rule { height: 4px; border-top: 1px solid #1a1712; border-bottom: 3px double #1a1712; margin-bottom: 1rem; }
.paper-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem 2rem; }
.paper-lead { grid-column: 1; }
.paper h1 { font-size: clamp(1.8rem, 4.2vw, 3.6rem); line-height: 1.02; color: var(--paper-ink); }
.paper-deck { margin-top: .75rem; font-size: clamp(.95rem, 1.35vw, 1.15rem); line-height: 1.4; color: #3a352c; }
.paper-byline { margin-top: .6rem; font-size: .75rem; color: #5a544a; font-style: italic; }
.paper-photo { grid-column: 2; grid-row: 1 / span 2; margin: 0; position: relative; }
.paper-photo img:first-child { width: 100%; height: auto; filter: grayscale(1) contrast(1.1) brightness(.95); display: block; }
.paper-mark { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%); filter: none; }
.paper-photo figcaption { font-size: .72rem; color: #5a544a; font-style: italic; padding-top: .4rem; border-bottom: 1px solid #1a1712; padding-bottom: .4rem; }
.paper-cols { grid-column: 1; column-count: 2; column-gap: 1.5rem; color: #2a261f; }
.paper-cols p + p { margin-top: .6rem; }
.paper-cols p:first-child::first-letter { font-family: var(--display); font-size: 2.6em; float: left; line-height: .8; padding-right: .25rem; padding-top: .15rem; }
.hero-hint { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 4; color: var(--ink-2); font-size: .8rem; letter-spacing: .04em; animation: hint 2.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translate(-50%, 0); opacity: .5; } 50% { transform: translate(-50%, 6px); opacity: 1; } }
.hero-ctas { display: none; }
@media (max-width: 760px) {
  /* Phones: nothing pins. The pinned front page fought the finger (and reset every time the address bar moved), so
     the front page now sits in normal flow with its two actions under it, and the press hall with the giant figure
     follows as its own block. Every swipe scrolls the page. */
  .hero-scene { height: auto; display: grid; }
  .desk { position: relative; inset: auto; grid-row: 1; grid-column: 1; display: grid; gap: 1.5rem; padding: calc(var(--nav-h) + 1.25rem) var(--gutter) 2.75rem; }
  .paper { width: 100%; max-height: none; }
  .paper-cols { display: none; }
  .hero-press, .hero-after { position: relative; inset: auto; grid-row: 2; grid-column: 1; height: min(78svh, 620px); }
  .hero-press { opacity: 1; transform: none; }
  .hero-after { opacity: 1; padding-bottom: 2.5rem; }
  .hero-giant { transform: none; font-size: clamp(4rem, 22vw, 7.5rem); }
  .hero-catalog-link, .hero-hint { display: none; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .paper { font-size: .78rem; transform: rotate(-.6deg); padding-top: .9rem; }
  .masthead-name { font-size: 2.6rem; padding: .4rem 0 .35rem; }
  .masthead-rule { margin-bottom: .7rem; }
  .paper-body { grid-template-columns: 1fr; gap: .75rem; }
  .paper-lead { grid-column: 1; }
  .paper h1 { font-size: 1.7rem; }
  .paper-deck { font-size: .9rem; }
  .paper-photo { grid-column: 1; grid-row: auto; }
  .paper-cols { column-count: 1; }
  .masthead-top span:nth-child(2), .masthead-top span:nth-child(3) { display: none; }
  .hero-after { padding-bottom: 3rem; }
}

/* Logo wall on paper */
.wall { padding: clamp(2.5rem, 6vh, 4rem) 0 clamp(2rem, 5vh, 3.5rem); }
.wall-label { font-family: var(--sans); font-size: .8rem; color: #4a4438; margin-bottom: 1.5rem; }
.logo-row { --logo-height: 44px; --logo-gap: clamp(2.5rem, 5vw, 4.5rem); }
.logo-row .marquee-track { align-items: center; gap: 0; animation-duration: 60s; padding-block: .9rem; }
.logo-group { display: flex; flex: none; min-width: 100vw; justify-content: space-around; align-items: center; gap: var(--logo-gap); padding-right: var(--logo-gap); }
.logo-row img { height: var(--logo-height); width: calc(var(--logo-height) * var(--logo-ratio)); filter: invert(1) brightness(.15); flex: none; }
.logo-row-2 .marquee-track { animation-direction: reverse; }
@media (max-width: 760px) {
  .logo-row { --logo-height: 28px; --logo-gap: 2rem; }
  .logo-row .marquee-track { animation-duration: 40s; }
  .logo-row-2 { display: none; }
}

/* Rule strip on dark */
.strip-dark { padding: clamp(3rem, 8vh, 6rem) 0; }
.strip-dark .rule-strip dd { color: var(--ink); }
.strip-dark .rule-strip > div:nth-child(2) dd { color: var(--gold); }

/* Packages: newspapers world with a panel sliding over it */
.packages { position: relative; }
.packages .world-sticky { z-index: 1; }
.packages .scene-copy-v2 { align-content: end; }
.packages-giant { overflow: visible; }
.packages-giant em { color: var(--gold); }
.packages .panel { padding-top: clamp(3.5rem, 9vh, 7rem); padding-bottom: clamp(4rem, 10vh, 8rem); }
.packages-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.packages-h { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.05; max-width: 16ch; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.packages-strip { grid-template-columns: 1fr; gap: 0; }
.packages-strip > div { display: grid; grid-template-columns: minmax(5.5rem, .6fr) minmax(0, 2fr); gap: .5rem 1rem; align-items: baseline; padding: 1.25rem 0; }
.packages-strip dt { font-size: 1rem; color: var(--ink); }
.packages-strip dd { margin: 0; font-size: clamp(1rem, 1.6vw, 1.55rem); line-height: 1.35; display: flex; flex-wrap: nowrap; align-items: baseline; gap: .75rem; }
.package-scope { white-space: nowrap; }
.packages-strip .off { font-family: var(--sans); font-size: .85rem; color: var(--gold); white-space: nowrap; }
.package-form { display: grid; gap: .9rem; }
.package-form .btn { justify-self: start; margin-top: .25rem; }
.package-form .form-ok { color: var(--ink); }
@media (max-width: 900px) {
  .packages-grid { grid-template-columns: 1fr; }
  .packages-strip > div { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 760px) {
  .packages-giant { font-size: clamp(3.4rem, 18vw, 7rem); }
  .packages-h { font-size: 2rem; margin-bottom: 1.75rem; }
  .packages .panel { padding-block: 3rem 3.5rem; }
}

/* Tiers as one rule strip */
.tiers-section h2 { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.5rem; }
.tier { display: grid; align-content: start; gap: .35rem; padding: 1.1rem 0 1.4rem; border-bottom: 1px solid var(--line-soft); transition: color .3s; }
.tier-k { font-size: .8rem; color: var(--mute); letter-spacing: .01em; }
.tier-v { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; }
.tier-r { color: var(--ink-2); font-size: .9rem; }
.tier:hover .tier-v { color: var(--gold); }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } .tier { grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: .9rem 0; } .tier-k { grid-column: 1 / -1; } .tier-r { align-self: end; } }

/* Featured table */
.featured-line { margin-bottom: 1.75rem; }
.featured-line a { color: var(--gold); }
.table-wrap { overflow-x: auto; }
.catalog { width: 100%; border-collapse: collapse; font-size: .95rem; }
.catalog th { text-align: left; font-weight: 500; color: var(--mute); font-size: .8rem; padding: .6rem .6rem .6rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.catalog td { padding: .8rem .6rem .8rem 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.catalog tr.in-cart td { background: rgba(228, 194, 92, .05); }
.c-name { min-width: 220px; }
.pub-name { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.15; }
.pub-meta { display: block; color: var(--mute); font-size: .82rem; margin-top: .15rem; }
.note { display: block; color: var(--gold); font-size: .78rem; margin-top: .15rem; }
.pub-type { display: inline-block; margin: .3rem .35rem 0 0; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.pub-extra { display: block; color: var(--ink-2); font-size: .78rem; margin-top: .25rem; }
.pub-niche { display: flex; flex-wrap: wrap; gap: .3rem; }
.niche-chip { font-size: .7rem; padding: .1rem .45rem; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--mute); }
.c-add { white-space: nowrap; text-align: right; }
.add-kind { display: inline-block; vertical-align: middle; width: 13rem; margin-right: .4rem; padding: .35rem .6rem; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg-2); color: var(--ink-2); font-size: .78rem; }
.add-kind:focus { border-color: var(--gold); outline: none; }
.c-num { font-variant-numeric: tabular-nums; color: var(--ink-2); width: 3rem; }
.c-turn, .c-label { color: var(--ink-2); white-space: nowrap; }
.c-flags { white-space: nowrap; }
.flag { display: inline-block; font-size: .72rem; padding: .18rem .5rem; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--ink-2); margin-right: .3rem; }
.flag-gold { border-color: var(--line); color: var(--gold); }
.catalog .flag { inline-size: 6.5em; text-align: center; }
.c-price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
tr[data-hold="1"] .c-price::after { content: "on hold"; display: block; color: var(--mute); font-size: .72rem; font-weight: 400; }
.add { border: 1px solid var(--line); color: var(--gold); border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; white-space: nowrap; transition: background .3s, color .3s; }
.add:hover { background: var(--gold); color: var(--bg); }
tr.in-cart .add { background: var(--gold); color: var(--bg); }
@media (max-width: 860px) {
  .catalog thead { display: none; }
  .catalog tr { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .35rem .75rem; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
  .catalog td { display: block; padding: 0; border: 0; }
  .c-name { grid-column: 1 / -1; }
  .c-num::before, .c-turn::before, .c-label::before { content: attr(data-label) " "; color: var(--mute); font-size: .75rem; }
  .c-flags { grid-column: 1 / span 3; }
  .c-price { grid-column: 1 / span 2; font-size: 1.1rem; align-self: center; }
  .c-add { grid-column: 4; grid-row: 2 / span 3; align-self: center; }
  .c-add:has(.add-kind) { grid-column: 1 / -1; grid-row: auto; display: flex; gap: .5rem; align-items: center; }
  .c-add .add-kind { flex: 1; width: auto; min-width: 0; margin: 0; padding-block: .55rem; }
  .c-turn, .c-label { white-space: normal; }
}

/* Catalog page */
.catalog-page { padding: calc(var(--nav-h) + 3rem) 0 5rem; }
.crumbs { display: flex; gap: .6rem; color: var(--mute); font-size: .9rem; margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--gold); }
.catalog-page h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); max-width: 16ch; }
.catalog-page .line { margin-top: 1rem; }
/* Filters: search and sort stay on the page, every facet lives in a drawer that slides in from the right */
.filters { margin: 2.5rem 0 1rem; }
.filter-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem) auto; gap: 1rem; align-items: end; padding: 1.25rem 1.5rem; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--bg-2); }
.filter-open { display: inline-flex; align-items: center; gap: .6rem; min-height: 50px; padding-inline: 1.3rem; }
.filter-open.has-filters { border-color: var(--gold); color: var(--gold); }
.filter-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .4rem; border-radius: 999px; background: var(--gold); color: var(--bg); font-size: .78rem; font-weight: 600; }
.filter-count[hidden] { display: none; }
.filter-backdrop { position: fixed; inset: 0; z-index: 69; background: rgba(0, 0, 0, .6); }
.filter-backdrop[hidden] { display: none; }
.filter-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(100%, 520px); display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--line-soft); transform: translateX(105%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s linear .5s; }
.filter-panel.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
html.filters-open { overflow: hidden; }
.filter-head { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line-soft); }
.filter-head h2 { font-size: 1.6rem; margin-right: auto; }
.filter-reset { color: var(--gold); font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.filter-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-soft); font-size: 1.4rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.filter-close:hover { border-color: var(--gold); color: var(--gold); }
.filter-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .5rem 1.5rem 1.5rem; }
.facet { border: 0; margin: 0; padding: 1.25rem 0; border-bottom: 1px solid var(--line-soft); min-width: 0; }
.facet legend { float: left; width: 100%; margin-bottom: .8rem; font-weight: 600; font-size: 1rem; }
.facet legend + * { clear: both; }
.facet-note { color: var(--mute); font-size: .8rem; margin-top: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip > span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border: 1px solid var(--line-soft); border-radius: 999px; font-size: .88rem; color: var(--ink-2); transition: border-color .2s, background .2s, color .2s; }
.chip:hover > span { border-color: var(--line); color: var(--ink); }
.chip:has(input:checked) > span { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip-n { color: var(--mute); font-size: .75rem; font-variant-numeric: tabular-nums; }
.chip:has(input:checked) .chip-n { color: inherit; opacity: .7; }
.facet-price { --lo: 0%; --hi: 100%; }
.price-track { position: relative; height: 28px; margin: .2rem .6rem 0; }
.price-track::before, .price-track::after { content: ""; position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; }
.price-track::before { left: 0; right: 0; background: var(--line-soft); }
.price-track::after { left: var(--lo); right: calc(100% - var(--hi)); background: var(--gold); }
.price-track input { position: absolute; inset: 0; z-index: 1; width: 100%; margin: 0; background: none; appearance: none; -webkit-appearance: none; pointer-events: none; }
.price-track input::-webkit-slider-runnable-track { background: none; height: 28px; }
.price-track input::-moz-range-track { background: none; }
.price-track input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-2); box-shadow: 0 0 0 1px var(--gold); cursor: grab; }
.price-track input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg-2); box-shadow: 0 0 0 1px var(--gold); cursor: grab; }
.price-track input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--gold); }
.price-values { display: flex; justify-content: space-between; margin-top: .6rem; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .9rem; }
.region-select { border: 1px solid var(--line-soft); border-radius: 10px; }
.region-select[open] { border-color: var(--line); }
.region-select summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; color: var(--ink-2); }
.region-select summary::-webkit-details-marker { display: none; }
.region-select summary::after { content: ""; width: .5rem; height: .5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -.25rem; transition: transform .2s; }
.region-select[open] summary::after { transform: rotate(-135deg); margin-top: .25rem; }
.region-list { max-height: 16rem; overflow-y: auto; overscroll-behavior: contain; padding: 0 .5rem .5rem; border-top: 1px solid var(--line-soft); }
.region-search { width: 100%; margin: .6rem 0 .3rem; padding: .6rem .8rem; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--bg); color: var(--ink); }
.region-search:focus { border-color: var(--gold); outline: none; }
.region-opt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .45rem .5rem; border-radius: 6px; cursor: pointer; font-size: .92rem; }
.region-opt:hover { background: var(--bg-3); }
.region-opt[hidden] { display: none; }
.region-opt input { accent-color: var(--gold); width: 1rem; height: 1rem; }
.filter-foot { padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); }
.filter-show { width: 100%; justify-content: center; gap: .3em; }
@media (max-width: 700px) {
  .filter-bar { grid-template-columns: minmax(0, 1fr) auto; padding: 1rem; }
  .filter-bar .f-q { grid-column: 1 / -1; }
  .filter-panel { width: 100%; border-left: 0; }
}
.catalog-more { margin-top: 2rem; padding: .9rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); font-size: .95rem; max-width: none; }
.catalog-more strong { color: var(--gold); font-weight: 600; }
.catalog-more a { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.catalog-more + .filters { margin-top: 1rem; }
.results-count { color: var(--mute); font-size: .9rem; margin-bottom: .5rem; }
.show-more { margin-top: 1.5rem; }
.catalog-notes { margin-top: 4rem; }
.catalog-notes h2 { margin-bottom: 1.5rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line-soft); padding: 1.1rem 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--display); font-size: clamp(1.35rem, 2vw, 1.75rem); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-size: 1.4rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); margin-top: .75rem; max-width: 48ch; }

/* Contact */
.contact-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.contact-links a:not(.btn) { color: var(--gold); }

/* Order bar, drawer */
.order-toggle { padding: .7rem 1.1rem; font-size: .9rem; gap: .5rem; }
.order-toggle .order-bar-count { color: var(--gold); }
.order-bar { position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, calc(100% + 2rem)); z-index: 45; transition: transform .5s var(--ease); }
.order-bar.is-visible { transform: translate(-50%, 0); }
.order-bar-btn { display: flex; align-items: center; gap: 1rem; background: var(--gold); color: var(--bg); border-radius: 999px; padding: .9rem 1.4rem; font-weight: 500; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); white-space: nowrap; }
.order-bar-btn .order-bar-total { font-variant-numeric: tabular-nums; }
.order { position: fixed; top: 0; right: 0; bottom: 0; width: min(100%, 460px); z-index: 60; background: var(--bg-2); border-left: 1px solid var(--line-soft); transform: translateX(105%); transition: transform .55s var(--ease); display: flex; flex-direction: column; overflow-y: auto; padding: 1.5rem; }
.order.is-open { transform: none; }
.order-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .4s; }
html.order-open .order-backdrop { opacity: 1; pointer-events: auto; }
.order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.order-close { color: var(--mute); }
.order-close:hover { color: var(--ink); }
.order-empty { color: var(--mute); }
.order .line { display: grid; grid-template-columns: 1fr auto auto; gap: .5rem 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); font-size: inherit; color: inherit; max-width: none; }
.line-name { font-size: .95rem; }
.line-meta { display: block; color: var(--mute); font-size: .8rem; }
.line-qty { display: flex; align-items: center; gap: .5rem; }
.line-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-soft); display: inline-flex; align-items: center; justify-content: center; }
.line-qty button:hover { border-color: var(--gold); color: var(--gold); }
.line-total { font-variant-numeric: tabular-nums; min-width: 4.5rem; text-align: right; }
.order-summary { margin: 1.25rem 0; display: grid; gap: .4rem; font-size: .95rem; }
.order-summary > div { display: flex; justify-content: space-between; }
.order-summary .sum-total { border-top: 1px solid var(--line); padding-top: .6rem; margin-top: .3rem; font-size: 1.1rem; }
.order-summary strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.order-brief { padding-block: .6rem; }
.order-brief summary { cursor: pointer; color: var(--ink-2); margin-bottom: .8rem; }
.tier-v, .pub-name, .masthead-name { font-weight: 600; }
.featured-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
[data-pr-budget] { display: grid; gap: 1.25rem; }
[data-pr-budget] > button { justify-self: start; margin-top: .25rem; }
[data-pr-budget] .field input, [data-pr-budget] .field select { min-height: 56px; }
[data-pr-budget] .field select { appearance: none; padding-right: 3rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23d6d5cf' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.budget-section { border-top: 1px solid var(--line); }
.budget-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.budget-layout h2 { font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.08; }
.budget-explanation { margin-block: 1.2rem; color: var(--ink-2); font-size: .9rem; max-width: 58ch; }
.budget-result { margin-top: 2rem; }
.budget-result > p[role="status"] { font-size: 1.3rem; color: var(--gold); font-weight: 600; }
.budget-result ul { list-style: none; margin: 1.2rem 0; padding: 0; max-height: 24rem; overflow-y: auto; overscroll-behavior: contain; }
.budget-result li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); font-size: .85rem; }
.budget-result li strong { font-variant-numeric: tabular-nums; font-weight: 500; }
.payment-methods { border: 0; padding: 0; margin: 1rem 0; }
.payment-methods legend { font-weight: 600; margin-bottom: .8rem; }
.payment-options { display: flex; gap: .65rem; }
.payment-options label { display: flex; gap: .5rem; align-items: center; border: 1px solid var(--line); padding: .85rem 1rem; border-radius: 12px; cursor: pointer; }
.payment-options label:has(:checked) { background: var(--gold); color: var(--bg); }
.payment-options input { accent-color: var(--bg); }
.payment-description { color: var(--ink-2); font-size: .85rem; margin-top: .9rem; line-height: 1.5; }
.crypto-choice { margin-top: 1rem; }
.payment-instructions { display: grid; gap: .3rem; margin-block: 1rem; overflow-wrap: anywhere; }
.payment-instructions dt { color: var(--ink-2); text-transform: capitalize; font-size: .85rem; }
.payment-instructions dd { margin-bottom: .65rem; }
@media (max-width: 760px) { .budget-layout { grid-template-columns: 1fr; } .payment-options label { flex: 1; justify-content: center; padding-inline: .5rem; } .budget-result li { grid-template-columns: minmax(0,1fr) auto; } .budget-result li span:nth-child(2) { display: none; } }
.sum-hint { color: var(--gold); font-size: .85rem; margin-top: .25rem; }
.order-form { display: grid; gap: .9rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.order-form .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.order-alt { font-size: .875rem; }
.order-alt a { color: var(--gold); }

/* Reduced motion: the hero shows its final state, no pin, worlds stand still */
@media (prefers-reduced-motion: reduce) {
  .hero-hint { display: none; }
  .desk { display: none; }
  .hero-press { opacity: 1; transform: none; display: block; }
  .hero-after { opacity: 1; }
  .hero-giant { transform: none; }
  .paper { transform: none; }
  .order, .order-bar { transition: none; }
  .packages .world-sticky { background: var(--bg-2); }
}

/* Direct buying route in the existing hero utility area. */
.hero-catalog-link { position: absolute; right: var(--gutter); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 5; display: inline-flex; align-items: center; min-height: 44px; padding: .65rem 1.15rem; border: 1px solid var(--gold); border-radius: 999px; background: var(--bg); color: var(--gold); font-size: .95rem; }
.hero-catalog-link:hover { background: var(--gold); color: var(--bg); }
[data-featured-toggle] { display: none; }
@media (max-width: 860px) {
  .featured[data-featured-ready]:not(.is-expanded) tbody tr:nth-child(n+7) { display: none; }
  .featured[data-featured-ready] [data-featured-toggle] { display: inline-flex; }
  .hero-hint { left: var(--gutter); transform: none; bottom: 1.7rem; }
}

/* PR pages carry the order button beside Book a call; below 1400px the order builder keeps the room (Book a call stays in the menu) */
@media (max-width: 1400px) { .nav-cta .order-toggle + .btn-gold { display: none; } }

/* Phones: the hero's actions live under the front page, so the floating link goes; the packages panel is opaque so
   the giant word behind it never reads through the form; catalog rows keep turnaround on one line, label on its own */
@media (max-width: 760px) {
  .hero-catalog-link { display: none; }
  .packages .panel { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 860px) {
  .c-turn { white-space: nowrap; }
  .c-label { grid-column: 1 / span 3; }
}
.add-kind { appearance: none; -webkit-appearance: none; padding-right: 1.9rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23d6d5cf' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5rem center; background-size: 14px; }
