/*
 * Paper Backdrop: components
 * Needs tokens.css first. Every class starts with "pb-" so it can sit next to any other CSS.
 */

/* Base: the whole page is the grey paper sweep */
.pb { margin: 0; background: var(--pb-backdrop); color: var(--pb-ink); font-family: var(--pb-sans); font-size: var(--pb-text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.pb *, .pb *::before, .pb *::after { box-sizing: border-box; }
.pb img, .pb svg { max-width: 100%; display: block; }
.pb a:not([class]) { color: inherit; }
.pb-container { width: min(100% - 48px, var(--pb-container)); margin-inline: auto; }
.pb-narrow { width: min(100% - 48px, var(--pb-narrow)); margin-inline: auto; }
.pb-center { text-align: center; }
.pb-center .pb-lead { margin-inline: auto; }

/* Sections */
.pb-section { padding-block: var(--pb-section); }
.pb-section--paper { background: var(--pb-paper); }
.pb-section--sweep { background: var(--pb-sweep); }
.pb-section--orange { background: var(--pb-orange); color: var(--pb-ink); }
.pb-section--orange .pb-quote cite, .pb-section--orange .pb-eyebrow { color: var(--pb-ink); }
.pb-section--steel { background: var(--pb-steel); color: var(--pb-white); }
.pb-section--steel .pb-lead { color: rgba(248, 248, 249, .68); }
.pb-rule { height: 1px; margin: 0; border: 0; background: var(--pb-line); }

/* Type: thin, lowercase display; sentences end with a period */
.pb-hero-title, .pb-h2, .pb-h3, .pb-tag { margin: 0; font-family: var(--pb-display); font-weight: 200; text-transform: lowercase; color: inherit; }
.pb-hero-title { font-size: var(--pb-text-hero); letter-spacing: var(--pb-tracking-hero); line-height: .92; }
.pb-tag { margin-top: 18px; color: var(--pb-orange); font-size: var(--pb-text-tag); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.pb-h2 { font-size: var(--pb-text-h2); letter-spacing: var(--pb-tracking-h2); line-height: 1; }
.pb-h3 { font-size: var(--pb-text-h3); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.pb-accent { color: var(--pb-orange); }
.pb-lead { max-width: 600px; margin: 22px 0 0; color: var(--pb-ink); font-size: var(--pb-text-lead); line-height: 1.5; text-transform: lowercase; }
.pb-eyebrow { display: inline-block; margin-bottom: 18px; color: var(--pb-soft); font-family: var(--pb-mono); font-size: var(--pb-text-micro); letter-spacing: .08em; text-transform: uppercase; }
.pb-mono { font-family: var(--pb-mono); font-size: var(--pb-text-small); }

/* Top band: the full-bleed orange bar that holds the nav */
.pb-band { position: sticky; top: 0; z-index: 10; background: var(--pb-orange); color: var(--pb-ink); }
.pb-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--pb-band); }
.pb-logo { color: inherit; font-family: var(--pb-display); font-size: 30px; font-weight: 300; letter-spacing: -.05em; line-height: 1; text-decoration: none; text-transform: lowercase; }
.pb-band__links { display: flex; gap: clamp(16px, 3.4vw, 52px); font-size: 15px; font-weight: 500; text-transform: lowercase; }
.pb-band__links a { text-decoration: none; }
.pb-band__links a:hover { color: var(--pb-white); }
.pb-band__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.pb-new { display: inline-flex; align-items: center; margin-right: 6px; padding: 1px 7px; border-radius: var(--pb-radius-pill); background: var(--pb-ink); color: var(--pb-orange); font-size: 11px; font-weight: 600; vertical-align: 2px; }
.pb-bag { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--pb-radius-pill); background: var(--pb-ink); color: var(--pb-orange); font-size: 13px; font-weight: 600; text-decoration: none; }

/* Buttons: pills with lowercase labels and an arrow. Orange is the one main action */
.pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 30px; border: 0; border-radius: var(--pb-radius-pill); font-family: var(--pb-display); font-size: 22px; font-weight: 300; letter-spacing: -.02em; line-height: 1.1; text-decoration: none; text-transform: lowercase; white-space: nowrap; cursor: pointer; transition: background .25s var(--pb-ease), transform .25s var(--pb-ease); }
.pb-btn::after { content: "\2192"; font-family: var(--pb-sans); font-weight: 400; transition: transform .25s var(--pb-ease); }
.pb-btn:hover::after { transform: translateX(4px); }
.pb-btn:active { transform: scale(.98); }
.pb-btn--primary { background: var(--pb-orange); color: var(--pb-ink); }
.pb-btn--primary:hover { background: var(--pb-orange-deep); }
.pb-btn--ink { background: var(--pb-ink); color: var(--pb-white); }
.pb-btn--ink:hover { background: var(--pb-steel); }
.pb-btn--paper { background: var(--pb-white); color: var(--pb-ink); }
.pb-btn--paper:hover { background: var(--pb-paper); }
.pb-btn--line { padding: 13px 28px; border: 1.5px solid var(--pb-ink); background: transparent; color: var(--pb-ink); }
.pb-btn--line:hover { background: rgba(18, 18, 20, .06); }
.pb-btn--sm { padding: 9px 20px; font-size: 18px; }
.pb-btn--block { width: 100%; }
.pb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.pb-center .pb-actions { justify-content: center; }
.pb-note { margin-top: 14px; color: var(--pb-soft); font-size: var(--pb-text-small); text-transform: lowercase; }
.pb-note a { color: var(--pb-orange-deep); }

/* Studio scene: a seamless paper sweep with drawn light stands, a softbox and a draped object */
.pb-studio { position: relative; overflow: hidden; min-height: clamp(300px, 40vw, 520px); background: var(--pb-sweep); isolation: isolate; }
.pb-studio::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(18, 18, 20, .08)); z-index: -1; }
.pb-studio--card { border-radius: var(--pb-radius-lg); }
.pb-studio--short { min-height: clamp(240px, 26vw, 340px); }
.pb-studio--short .pb-drape { width: clamp(96px, 11vw, 150px); }
.pb-studio--short .pb-stand { height: 80%; }
.pb-stand { position: absolute; bottom: 4%; height: 92%; max-height: 460px; width: auto; color: var(--pb-steel); }
.pb-stand--left { left: 6%; }
.pb-stand--right { right: 7%; }
.pb-stand--far { left: 26%; height: 70%; opacity: .75; }
.pb-softbox { position: absolute; top: 8%; right: 4%; width: 22%; max-width: 300px; aspect-ratio: 1; background: linear-gradient(135deg, var(--pb-canvas), #8c7f6a); clip-path: polygon(18% 0, 100% 10%, 92% 100%, 0 70%); box-shadow: var(--pb-shadow-floor); }
.pb-softbox::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--pb-steel) 0 3%, transparent 3% 97%, var(--pb-steel) 97%); }
.pb-drape { position: absolute; left: 50%; bottom: 3%; width: clamp(130px, 17vw, 230px); aspect-ratio: .82; transform: translateX(-50%); background: linear-gradient(100deg, #d8d6d0 0%, var(--pb-cloth) 30%, #fff 46%, #e4e2dc 62%, var(--pb-cloth) 80%, #cfcdc7 100%); clip-path: polygon(38% 0, 62% 0, 70% 14%, 86% 58%, 100% 100%, 0 100%, 14% 58%, 30% 14%); filter: drop-shadow(0 18px 18px rgba(18, 18, 20, .2)); }
.pb-drape::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(96deg, transparent 0 18px, rgba(18, 18, 20, .05) 18px 20px, transparent 20px 34px); }
.pb-plinth { position: absolute; bottom: 3%; width: clamp(56px, 8vw, 110px); aspect-ratio: 1.2; background: linear-gradient(180deg, var(--pb-white), #d2d3d7); border-radius: 4px; box-shadow: var(--pb-shadow-floor); }
.pb-plinth--a { left: 22%; }
.pb-plinth--b { right: 24%; width: clamp(44px, 6vw, 80px); }
.pb-tape { position: absolute; bottom: 2%; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(18, 18, 20, .18) 0 40px, transparent 40px 120px); }
.pb-play { position: absolute; left: 50%; top: 38%; display: grid; place-items: center; width: clamp(76px, 8vw, 108px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: var(--pb-orange); transform: translate(-50%, -50%); cursor: pointer; box-shadow: 0 10px 30px -10px rgba(217, 71, 6, .6); transition: transform .3s var(--pb-ease); }
.pb-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.pb-play::before { content: ""; width: 34%; aspect-ratio: .9; margin-left: 10%; background: var(--pb-ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.pb-studio__label { position: absolute; left: 20px; top: 16px; color: var(--pb-soft); font-family: var(--pb-mono); font-size: var(--pb-text-micro); letter-spacing: .06em; text-transform: uppercase; }

/* Hero: scene on top, centered thin title, orange tagline, one big pill */
.pb-hero { padding: clamp(36px, 5vw, 64px) 0 var(--pb-section); text-align: center; }
.pb-hero .pb-lead { margin-inline: auto; }
.pb-hero .pb-actions { justify-content: center; }

/* Chips */
.pb-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pb-radius-pill); background: var(--pb-white); color: var(--pb-ink); font-size: var(--pb-text-small); font-weight: 500; text-transform: lowercase; }
.pb-chip--orange { background: var(--pb-orange-soft); color: var(--pb-orange-deep); }
.pb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pb-orange); }

/* Cards: light paper resting on the backdrop, soft floor shadow, no border */
.pb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pb-card { padding: 30px; border-radius: var(--pb-radius); background: var(--pb-white); box-shadow: var(--pb-shadow); }
.pb-card--paper { background: var(--pb-paper); box-shadow: none; }
.pb-card__num { color: var(--pb-orange); font-family: var(--pb-mono); font-size: var(--pb-text-small); }
.pb-card p { margin: 10px 0 0; color: var(--pb-soft); }
.pb-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }

/* Spec sheet: mono labels on hairlines, like a lighting plot */
.pb-specs { margin: 0; padding: 0; list-style: none; border-top: var(--pb-hairline); }
.pb-specs li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: var(--pb-hairline); }
.pb-specs span:first-child { color: var(--pb-soft); font-family: var(--pb-mono); font-size: var(--pb-text-small); text-transform: uppercase; letter-spacing: .05em; }
.pb-specs span:last-child { text-align: right; text-transform: lowercase; }

/* Big stat */
.pb-stat { font-family: var(--pb-display); font-size: clamp(56px, 7vw, 96px); font-weight: 200; letter-spacing: -.05em; line-height: 1; }
.pb-stat small { font-size: .4em; color: var(--pb-orange); }

/* Quote */
.pb-quote { margin: 0; font-family: var(--pb-display); font-size: clamp(30px, 3.6vw, 48px); font-weight: 200; letter-spacing: -.03em; line-height: 1.12; text-transform: lowercase; }
.pb-quote cite { display: block; margin-top: 22px; color: var(--pb-soft); font-family: var(--pb-mono); font-size: var(--pb-text-small); font-style: normal; text-transform: uppercase; letter-spacing: .05em; }

/* Toggle: two options in a white pill */
.pb-toggle { display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--pb-radius-pill); background: var(--pb-white); }
.pb-toggle button { padding: 8px 18px; border: 0; border-radius: var(--pb-radius-pill); background: transparent; color: var(--pb-soft); font: 500 15px var(--pb-sans); text-transform: lowercase; cursor: pointer; }
.pb-toggle button[aria-pressed="true"] { background: var(--pb-ink); color: var(--pb-white); }

/* Pricing */
.pb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.pb-plan { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--pb-radius); background: var(--pb-white); box-shadow: var(--pb-shadow); }
.pb-plan--featured { background: var(--pb-orange); box-shadow: 0 30px 50px -30px rgba(217, 71, 6, .7); }
.pb-plan--featured .pb-plan__desc, .pb-plan--featured .pb-plan__list li::before { color: var(--pb-ink); }
.pb-plan__name { font-family: var(--pb-display); font-size: 30px; font-weight: 300; letter-spacing: -.03em; text-transform: lowercase; }
.pb-plan__price { margin-top: 18px; font-family: var(--pb-display); font-size: 64px; font-weight: 200; letter-spacing: -.05em; line-height: 1; }
.pb-plan__price small { font-family: var(--pb-sans); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.pb-plan__desc { margin: 12px 0 0; color: var(--pb-soft); text-transform: lowercase; }
.pb-plan__list { flex: 1; margin: 26px 0 30px; padding: 0; list-style: none; border-top: 1px solid rgba(18, 18, 20, .14); }
.pb-plan__list li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(18, 18, 20, .14); font-size: 15px; text-transform: lowercase; }
.pb-plan__list li::before { content: "\2192"; color: var(--pb-orange); }

/* FAQ */
.pb-faq { border-top: var(--pb-hairline); }
.pb-faq details { border-bottom: var(--pb-hairline); }
.pb-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--pb-display); font-size: 24px; font-weight: 300; letter-spacing: -.02em; text-transform: lowercase; list-style: none; cursor: pointer; }
.pb-faq summary::-webkit-details-marker { display: none; }
.pb-faq summary::after { content: "+"; color: var(--pb-orange); }
.pb-faq details[open] summary::after { content: "\2212"; }
.pb-faq p { margin: 0 0 22px; color: var(--pb-soft); }

/* Article */
.pb-article { font-size: 19px; line-height: 1.7; }
.pb-article p { margin: 0 0 1.3em; }
.pb-article h2 { margin: 1.8em 0 .5em; font-family: var(--pb-display); font-size: 38px; font-weight: 200; letter-spacing: -.03em; line-height: 1.1; text-transform: lowercase; }
.pb-article a { color: var(--pb-orange-deep); text-underline-offset: 3px; }
.pb-article blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--pb-orange); font-family: var(--pb-display); font-size: 30px; font-weight: 300; letter-spacing: -.02em; line-height: 1.2; text-transform: lowercase; }
.pb-article figure { margin: 2em 0; }
.pb-article figcaption { margin-top: 10px; color: var(--pb-soft); font-family: var(--pb-mono); font-size: var(--pb-text-micro); text-transform: uppercase; letter-spacing: .05em; }
.pb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; color: var(--pb-soft); font-family: var(--pb-mono); font-size: var(--pb-text-small); text-transform: uppercase; letter-spacing: .04em; }
.pb-avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pb-orange); color: var(--pb-ink); font-family: var(--pb-display); font-size: 18px; letter-spacing: -.02em; }

/* Forms: white pill fields, mono labels */
.pb-form { display: grid; gap: 18px; }
.pb-field { display: grid; gap: 8px; }
.pb-label { color: var(--pb-soft); font-family: var(--pb-mono); font-size: var(--pb-text-micro); letter-spacing: .06em; text-transform: uppercase; }
.pb-input, .pb-select { width: 100%; padding: 15px 22px; border: 1.5px solid transparent; border-radius: var(--pb-radius-pill); background: var(--pb-white); color: var(--pb-ink); font: 400 17px var(--pb-sans); outline: none; appearance: none; transition: border-color .2s var(--pb-ease); }
.pb-input::placeholder { color: var(--pb-faint); }
.pb-input:focus, .pb-select:focus { border-color: var(--pb-orange); }
.pb-check { display: flex; gap: 12px; align-items: flex-start; color: var(--pb-soft); font-size: 15px; }
.pb-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pb-orange); }
.pb-panel { padding: clamp(28px, 4vw, 48px); border-radius: var(--pb-radius-lg); background: var(--pb-paper); box-shadow: var(--pb-shadow); }

/* Footer: a giant lowercase wordmark sitting on the floor of the sweep */
.pb-footer { padding: 72px 0 32px; background: var(--pb-sweep); }
.pb-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.pb-footer__cols h4 { margin: 0 0 12px; color: var(--pb-soft); font-family: var(--pb-mono); font-size: var(--pb-text-micro); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.pb-footer__cols a { display: block; padding: 4px 0; text-decoration: none; text-transform: lowercase; }
.pb-footer__cols a:hover { color: var(--pb-orange-deep); }
.pb-footer__mark { margin-top: 56px; font-family: var(--pb-display); font-size: clamp(96px, 22vw, 320px); font-weight: 200; letter-spacing: -.07em; line-height: .78; text-transform: lowercase; }
.pb-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; color: var(--pb-soft); font-size: var(--pb-text-small); text-transform: lowercase; }

/* Phone */
@media (max-width: 760px) {
  .pb-band__links { display: none; }
  .pb-split { grid-template-columns: 1fr; }
  .pb .pb-stand--far, .pb-plinth--b, .pb-softbox { display: none; }
  .pb-stand--left { left: -4%; }
  .pb-stand--right { right: -4%; }
  .pb-btn { font-size: 20px; padding: 13px 24px; }
}

/* Stand parts (inline SVG, see demo.html) */
.pb-stand__lamp { fill: var(--pb-white); filter: drop-shadow(0 0 10px rgba(255, 255, 255, .95)); }
