/* The next public website (site_next/). scripts/site_next.py links it straight after
   style.css on staging, and the owner's switch puts it on the live site. Every rule is
   scoped to .pw-, a public #page- or the public header; tests/harnesses/website-redesign. */
/* Public website, 2026-11 redesign: the seven .pw-page pages in index.html.
   Navy, cream and gold; Lora titles over Work Sans text; hairlines and space
   instead of boxes. tests/harnesses/website-redesign checks every pw-* class
   used in index.html has a rule here. */
.pw-page {
  --pw-ink: #0f1b33;
  --pw-ink-2: #3b4658;
  --pw-muted: #5f6978;
  --pw-gold: #d4a840;
  --pw-gold-hi: #e3bc5e;
  --pw-gold-text: #8c6a1c;
  --pw-cream: #faf7f0;
  --pw-cream-2: #f1ebdf;
  --pw-line: #e5ddcf;
  --pw-deep: #0b1528;
  --pw-serif: var(--font-body);
  --pw-sans: var(--font-display);
  --pw-pad: clamp(72px, 9vw, 128px);
  --pw-gutter: clamp(16px, 4vw, 48px);
}
.pw-page [id] { scroll-margin-top: 104px; }
.pw-wrap { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: var(--pw-gutter); padding-right: var(--pw-gutter); box-sizing: border-box; }
.pw-sec { padding: var(--pw-pad) 0; background: #fff; color: var(--pw-ink); font-family: var(--pw-sans); }
.pw-sec--cream { background: var(--pw-cream); }
.pw-sec--navy { background: var(--pw-ink); color: #fff; }
.pw-sec--tight { padding: clamp(40px, 5vw, 64px) 0; }

/* Hero */
.pw-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(520px, 72vh, 760px); background: var(--pw-deep); color: #fff; font-family: var(--pw-sans); }
.pw-hero--home { min-height: clamp(600px, calc(100vh - 88px), 900px); }
.pw-hero--short { min-height: clamp(380px, 50vh, 520px); }
.pw-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pw-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,21,40,.32) 0%, rgba(11,21,40,.12) 32%, rgba(11,21,40,.72) 74%, rgba(11,21,40,.92) 100%), linear-gradient(90deg, rgba(11,21,40,.58) 0%, rgba(11,21,40,0) 68%); }
.pw-hero__inner { padding-top: 96px; padding-bottom: clamp(56px, 8vw, 104px); }
.pw-hero__title { max-width: 20ch; margin: 0 0 24px; font-family: var(--pw-serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.05; letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.pw-hero__title em { font-style: italic; color: #f0c84a; }
.pw-hero__lead { max-width: 44rem; margin: 0; font-family: var(--pw-sans); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: rgba(255,255,255,.86); }
.pw-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pw-hero__bar { position: relative; border-top: 1px solid rgba(255,255,255,.16); background: rgba(11,21,40,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pw-hero__barin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-height: 64px; padding-top: 12px; padding-bottom: 12px; font-size: 15px; color: rgba(255,255,255,.9); }
.pw-hero__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pw-gold); box-shadow: 0 0 0 4px rgba(212,168,64,.22); }

/* Buttons and links */
.pw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 8px; box-sizing: border-box; font-family: var(--pw-sans); font-size: 15px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pw-btn--gold { background: var(--pw-gold); color: var(--pw-ink); }
.pw-btn--gold:hover { background: var(--pw-gold-hi); }
.pw-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.pw-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.pw-btn--navy { background: var(--pw-ink); color: #fff; }
.pw-btn--navy:hover { background: #1a2d52; }
.pw-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; font-family: var(--pw-sans); font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--pw-ink); text-decoration: none; cursor: pointer; }
.pw-link::after { content: "\2192"; transition: transform .2s; }
.pw-link:hover::after { transform: translateX(4px); }
.pw-sec--navy .pw-link { color: #fff; }
.pw-link--gold, .pw-sec--navy .pw-link--gold { color: var(--pw-gold); }
.pw-hero__bar .pw-link--gold { color: #f0c84a; }
.pw-btn:focus-visible, .pw-link:focus-visible { outline: 2px solid var(--pw-gold); outline-offset: 3px; }
/* A finger needs 44px; a mouse keeps the tighter link */
@media (pointer: coarse) { .pw-link { min-height: 44px; } }

/* Type */
.pw-h2 { max-width: 24ch; margin: 0 0 24px; font-family: var(--pw-serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -0.01em; color: inherit; text-wrap: balance; }
.pw-p { max-width: 40rem; margin: 0 0 18px; font-family: var(--pw-sans); font-size: 17px; line-height: 1.7; color: var(--pw-ink-2); }
.pw-sec--navy .pw-p { color: rgba(255,255,255,.78); }
.pw-p a { color: inherit; text-decoration: underline; text-decoration-color: var(--pw-gold); text-underline-offset: 3px; }
.pw-small { font-size: 15px; }
.pw-center { margin-left: auto; margin-right: auto; text-align: center; }
.pw-copy > :last-child { margin-bottom: 0; }
.pw-head { display: grid; gap: 16px 64px; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) {
  .pw-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .pw-head .pw-h2, .pw-head .pw-p { margin-bottom: 0; }
}
.pw-h2 + .pw-grid, .pw-h2 + .pw-split, .pw-h2 + .pw-table, .pw-h2 + .pw-timeline { margin-top: clamp(32px, 4vw, 48px); }
.pw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Grids and items */
.pw-grid { display: grid; gap: 40px 32px; }
@media (min-width: 640px) { .pw-grid--2, .pw-grid--3, .pw-grid--4, .pw-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .pw-grid--3, .pw-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .pw-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pw-item { padding-top: 24px; border-top: 1px solid var(--pw-line); }
.pw-sec--navy .pw-item { border-top-color: rgba(255,255,255,.16); }
.pw-num { display: block; margin-bottom: 14px; font-family: var(--pw-serif); font-size: 15px; letter-spacing: .04em; color: var(--pw-gold-text); }
.pw-sec--navy .pw-num { color: var(--pw-gold); }
.pw-item__title { margin: 0 0 10px; font-family: var(--pw-serif); font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: 0; color: inherit; }
.pw-item__body { margin: 0 0 16px; font-family: var(--pw-sans); font-size: 15.5px; line-height: 1.65; color: var(--pw-muted); }
.pw-item__body:last-child { margin-bottom: 0; }
.pw-sec--navy .pw-item__body { color: rgba(255,255,255,.72); }
.pw-item__lead { margin: 0; font-family: var(--pw-serif); font-size: 20px; line-height: 1.5; color: inherit; }
.pw-item--row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; }
.pw-item--row .pw-num { margin: 5px 0 0; }
.pw-factors { margin-top: 36px; border-bottom: 1px solid var(--pw-line); }

/* Figures */
.pw-stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 640px) { .pw-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; } }
.pw-stat { padding-top: 22px; border-top: 2px solid var(--pw-gold); }
.pw-stat__num { font-family: var(--pw-serif); font-weight: 400; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -0.02em; color: inherit; font-variant-numeric: tabular-nums; }
.pw-stat__label { max-width: 24ch; margin: 14px 0 0; font-family: var(--pw-sans); font-size: 15px; line-height: 1.5; color: var(--pw-muted); }
.pw-sec--navy .pw-stat__label { color: rgba(255,255,255,.72); }
.pw-copy .pw-stat { max-width: 300px; margin-top: 40px; }
.pw-logos { margin-top: clamp(64px, 8vw, 104px); padding-top: 40px; border-top: 1px solid var(--pw-line); }
.pw-logos__title { margin: 0 0 32px; font-family: var(--pw-sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--pw-muted); }
/* University band: two rows sliding opposite ways. pw.js repeats each row and
   sets it looping; without it, or with reduced motion, the logos sit in centred
   rows. Each logo's width and height attributes give it its displayed size. */
.pw-marquees { display: grid; gap: 8px; }
.pw-marquee { overflow: hidden; }
.pw-marquee__track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0; padding: 0; list-style: none; }
.pw-marquee__track li { flex: none; display: flex; align-items: center; justify-content: center; gap: 12px; height: 84px; padding: 0 clamp(20px, 2.6vw, 36px); }
.pw-marquee__track img { display: block; max-width: none; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.pw-marquee__track li:hover img { filter: none; opacity: 1; }
.pw-marquee__name { font-family: var(--pw-serif); font-size: 16px; line-height: 1.2; color: #2a2a2a; opacity: .6; white-space: nowrap; transition: color .3s, opacity .3s; }
.pw-marquee__track li:hover .pw-marquee__name { color: var(--pw-ink); opacity: 1; }
.pw-marquee.is-looping { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.pw-marquee.is-looping .pw-marquee__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: pw-marquee var(--pw-dur, 90s) linear infinite; }
.pw-marquee--rev.is-looping .pw-marquee__track { animation-direction: reverse; }
.pw-marquee.is-looping:hover .pw-marquee__track { animation-play-state: paused; }
@keyframes pw-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
/* Standing still (reduced motion) on a phone, each row scrolls sideways instead of
   stacking every logo into three screens. */
@media screen and (max-width: 720px) {
  .pw-marquee:not(.is-looping) { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 85%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 85%, transparent 100%); }
  .pw-marquee:not(.is-looping) .pw-marquee__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding-right: 56px; }
  .pw-marquee:not(.is-looping) .pw-marquee__track li { scroll-snap-align: start; }
}

/* Split rows and photography */
.pw-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .pw-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(56px, 6vw, 88px); } }
.pw-split--top { align-items: start; }
.pw-split + .pw-grid { margin-top: clamp(56px, 7vw, 88px); }
.pw-media { margin: 0; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--pw-cream-2); }
.pw-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pw-media--tall { aspect-ratio: 4 / 5; max-height: 680px; }
.pw-media--wide { aspect-ratio: 21 / 9; margin: 8px 0 clamp(48px, 6vw, 72px); }
.pw-media--portrait { aspect-ratio: 4 / 5; max-width: 460px; }
.pw-media--portrait img { object-position: center top; }
.pw-list { display: grid; gap: 12px; margin: 24px 0 28px; padding: 0; list-style: none; }
.pw-list:last-child { margin-bottom: 0; }
.pw-list li { position: relative; padding-left: 22px; font-family: var(--pw-sans); font-size: 16px; line-height: 1.55; color: var(--pw-ink-2); }
.pw-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--pw-gold); }
.pw-sec--navy .pw-list li, .pw-panel .pw-list li { color: rgba(255,255,255,.86); }

/* Products */
.pw-products { border-bottom: 1px solid var(--pw-line); }
.pw-product { display: grid; gap: 16px 48px; padding: 40px 0; border-top: 1px solid var(--pw-line); }
@media (min-width: 960px) {
  .pw-product { grid-template-columns: minmax(0, 300px) minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; padding: 52px 0; }
  .pw-product__side { padding-top: 8px; }
}
.pw-product__num { display: block; margin-bottom: 6px; font-family: var(--pw-serif); font-size: 20px; line-height: 1.5; color: var(--pw-gold-text); }
.pw-product__pic { max-width: 420px; }
.pw-product__title { margin: 0 0 14px; font-family: var(--pw-serif); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -0.01em; color: var(--pw-ink); }
.pw-product__body { max-width: 38rem; margin: 0 0 28px; font-family: var(--pw-sans); font-size: 17px; line-height: 1.7; color: var(--pw-ink-2); }
.pw-product__side .pw-list { margin-top: 0; }
.pw-stages__label { margin: 0 0 12px; font-family: var(--pw-sans); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pw-muted); }
.pw-stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: 520px; margin: 0; padding: 0; list-style: none; }
.pw-stages li { font-family: var(--pw-sans); font-size: 14px; color: var(--pw-muted); }
.pw-stages li::before { content: ""; display: block; height: 4px; margin-bottom: 10px; border-radius: 2px; background: var(--pw-line); }
.pw-stages li.is-on { font-weight: 600; color: var(--pw-ink); }
.pw-stages li.is-on::before { background: var(--pw-ink); }
.pw-callout { max-width: 56rem; margin: clamp(48px, 6vw, 72px) 0 0; padding: 28px 32px; border-radius: 16px; background: #fff; font-family: var(--pw-serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--pw-ink); }
.pw-callout strong { font-weight: 600; }

/* Comparison tables */
.pw-table { width: 100%; border-collapse: collapse; font-family: var(--pw-sans); }
.pw-table th, .pw-table td { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--pw-line); text-align: left; vertical-align: top; font-size: 16px; line-height: 1.6; }
.pw-table thead th { padding-top: 0; padding-bottom: 16px; border-bottom-color: var(--pw-ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pw-muted); }
.pw-table tbody th { width: 22%; font-family: var(--pw-serif); font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--pw-ink); }
.pw-table td { width: 39%; color: var(--pw-muted); }
.pw-table--two td { width: 50%; }
.pw-table td.pw-table__us { font-weight: 500; color: var(--pw-ink); }
.pw-table__k { display: none; }
@media (max-width: 720px) {
  .pw-table, .pw-table thead, .pw-table tbody, .pw-table tr, .pw-table th, .pw-table tbody th, .pw-table td { display: block; width: auto; }
  .pw-table thead { display: none; }
  .pw-table tbody tr { padding: 24px 0; border-bottom: 1px solid var(--pw-line); }
  .pw-table tbody tr:first-child { border-top: 1px solid var(--pw-ink); }
  .pw-table tbody th, .pw-table td { padding: 0; border: 0; }
  .pw-table tbody th { margin-bottom: 14px; }
  .pw-table td + td { margin-top: 14px; }
  .pw-table__k { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pw-muted); }
}

/* Consultant quotes */
.pw-quotes { display: grid; gap: 48px; margin-top: clamp(64px, 8vw, 96px); }
@media (min-width: 900px) { .pw-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; } }
.pw-quote { margin: 0; padding-top: 28px; border-top: 1px solid var(--pw-line); }
.pw-quote blockquote { margin: 0 0 24px; font-family: var(--pw-serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--pw-ink); }
.pw-quote figcaption { display: flex; align-items: center; gap: 14px; font-family: var(--pw-sans); font-size: 14px; line-height: 1.45; color: var(--pw-muted); }
.pw-quote figcaption img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* About: journey */
.pw-timeline { display: grid; gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .pw-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pw-timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pw-timeline li { position: relative; padding-top: 28px; border-top: 1px solid var(--pw-line); }
.pw-timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--pw-gold); }
.pw-year { margin-bottom: 14px; font-family: var(--pw-serif); font-size: 36px; line-height: 1; color: var(--pw-ink); }
.pw-tl-label { margin: 0 0 10px; font-family: var(--pw-serif); font-weight: 500; font-size: 20px; line-height: 1.35; letter-spacing: 0; color: var(--pw-ink); }
.pw-tl-body { margin: 0 0 12px; font-family: var(--pw-sans); font-size: 15.5px; line-height: 1.65; color: var(--pw-ink-2); }
.pw-tl-meta { margin: 0; font-family: var(--pw-sans); font-size: 13px; letter-spacing: .02em; color: var(--pw-muted); }

/* Join Our Team */
.pw-facts { display: grid; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .pw-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1024px) { .pw-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pw-facts li { position: relative; padding: 20px 0 20px 26px; border-top: 1px solid var(--pw-line); font-family: var(--pw-serif); font-size: 19px; line-height: 1.4; color: var(--pw-ink); }
.pw-facts li::before { content: ""; position: absolute; left: 0; top: 29px; width: 9px; height: 9px; border-radius: 50%; background: var(--pw-gold); }
.pw-brief { overflow: hidden; border-radius: 20px; background: var(--pw-cream); }
.pw-brief .pw-media { border-radius: 0; aspect-ratio: 16 / 9; }
.pw-brief__body { padding: clamp(24px, 3vw, 36px); }
.pw-brief__body h3 { margin: 0 0 12px; font-family: var(--pw-serif); font-weight: 500; font-size: 24px; line-height: 1.3; letter-spacing: 0; color: var(--pw-ink); }

/* Pricing */
.pw-panel { padding: clamp(32px, 4vw, 48px); border-radius: 20px; background: var(--pw-ink); color: #fff; }
.pw-panel h3 { margin: 0 0 4px; font-family: var(--pw-serif); font-weight: 500; font-size: 26px; line-height: 1.3; letter-spacing: 0; color: #fff; }
.pw-panel__actions { display: grid; gap: 12px; margin-top: 32px; }
.pw-wechat { display: grid; gap: 32px 64px; align-items: center; }
@media (min-width: 760px) { .pw-wechat { grid-template-columns: 220px minmax(0, 1fr); } }
.pw-wechat__qr { display: block; width: 220px; padding: 16px; border-radius: 16px; background: #fff; box-sizing: border-box; }
.pw-wechat__qr img { display: block; width: 100%; height: auto; }
.pw-wechat .pw-hero__actions { margin: 8px 0 20px; }

/* Closing band */
.pw-cta { padding: clamp(72px, 9vw, 120px) 0; background: var(--pw-deep); color: #fff; font-family: var(--pw-sans); }
.pw-cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; }
.pw-cta h2 { max-width: 22ch; margin: 0; font-family: var(--pw-serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.15; letter-spacing: -0.01em; color: #fff; text-wrap: balance; }

/* Contact */
.pw-contact { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .pw-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.pw-steps { counter-reset: pwstep; margin: 8px 0 32px; padding: 0; list-style: none; }
.pw-steps li { counter-increment: pwstep; position: relative; padding: 18px 0 18px 48px; border-top: 1px solid var(--pw-line); font-family: var(--pw-sans); font-size: 16.5px; line-height: 1.55; color: var(--pw-ink); }
.pw-steps li:last-child { border-bottom: 1px solid var(--pw-line); }
.pw-steps li::before { content: counter(pwstep, decimal-leading-zero); position: absolute; left: 0; top: 19px; font-family: var(--pw-serif); font-size: 16px; color: var(--pw-gold-text); }
.pw-formcard { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--pw-line); border-radius: 20px; background: #fff; }
.pw-formcard .form-label { display: block; margin: 0 0 8px; font-family: var(--pw-sans); font-size: 14px; font-weight: 600; color: var(--pw-ink); }
.pw-formcard .form-input { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d8d1c5; border-radius: 8px; background: #fff; box-sizing: border-box; font-family: var(--pw-sans); font-size: 16px; color: var(--pw-ink); transition: border-color .2s, box-shadow .2s; }
.pw-formcard .form-input:focus { outline: none; border-color: var(--pw-gold); box-shadow: 0 0 0 3px rgba(212,168,64,.22); }
.pw-formcard textarea.form-input { min-height: 140px; resize: vertical; }
.pw-formcard .pw-field { margin-bottom: 20px; }
.pw-formcard .name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.pw-formcard .pw-radios { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pw-formcard .radio-pill { position: relative; }
.pw-formcard .radio-pill input[type="radio"] { display: block; position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.pw-formcard .radio-pill label { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid #d8d1c5; border-radius: 8px; background: #fff; font-family: var(--pw-sans); font-size: 14px; font-weight: 500; color: var(--pw-ink); cursor: pointer; }
.pw-formcard .radio-pill input[type="radio"]:checked + label { border-color: var(--pw-ink); background: var(--pw-ink); color: #fff; }
.pw-formcard .radio-pill input[type="radio"]:focus-visible + label { outline: 2px solid var(--pw-gold); outline-offset: 2px; }
.pw-formcard .pw-captcha { margin: 4px 0 24px; padding: 20px; border-radius: 12px; background: var(--pw-cream); }
.pw-formcard .pw-captcha p { margin: 0 0 10px; font-family: var(--pw-sans); font-size: 15px; color: var(--pw-ink-2); }
.pw-formcard #captcha-answer { max-width: 160px; }
.pw-formcard #captcha-error { margin: 8px 0 0; font-size: 14px; color: #b3261e; }
.pw-formcard #contact-submit-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--pw-ink); box-shadow: none; transform: none; font-family: var(--pw-sans); font-size: 16px; font-weight: 600; letter-spacing: .01em; color: #fff; cursor: pointer; }
.pw-formcard #contact-submit-btn:hover { background: #1a2d52; }
.pw-formcard #contact-submit-btn:disabled { opacity: .6; cursor: default; }
.pw-formcard .pw-note { margin: 14px 0 0; font-family: var(--pw-sans); font-size: 13px; line-height: 1.5; text-align: center; color: var(--pw-muted); }
.pw-formcard .pw-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.pw-page .contact-form { padding: 0 !important; border: 0; border-radius: 0; background: none; box-shadow: none; }
.pw-page .danny-headline { font-family: var(--pw-serif); font-weight: 500; letter-spacing: -0.01em; }
html[lang="zh"] .pw-page .danny-headline { line-height: 1.35; letter-spacing: .01em; }
.pw-req { margin-left: 2px; color: #b3261e; }
.pw-success { padding: clamp(96px, 12vw, 160px) 0; background: var(--pw-cream); color: var(--pw-ink); font-family: var(--pw-sans); text-align: center; }
.pw-success .pw-btn { margin-top: 12px; }

/* Home hero: real photographs fading one into the next (pw.js pwSlides). The
   next photograph fades in ABOVE the last, which stays whole underneath (.is-off)
   until the fade has ended, so the picture never dims half way. The fade's 2.4s
   is PW_FADE_MS in pw.js. */
.pw-hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--pw-deep); }
.pw-hero__slides .pw-hero__media { z-index: 0; opacity: 0; transition: opacity 2.4s cubic-bezier(.45, 0, .55, 1); backface-visibility: hidden; }
.pw-hero__slides .pw-hero__media.is-on { z-index: 2; opacity: 1; }
.pw-hero__slides .pw-hero__media.is-off { z-index: 1; opacity: 1; transition: none; }
@keyframes pw-drift { from { transform: scale(1.07); } to { transform: scale(1); } }
/* A busy photograph under the title: a deeper shade so the words stay readable */
.pw-hero--dim::before { background: linear-gradient(180deg, rgba(11,21,40,.58) 0%, rgba(11,21,40,.5) 38%, rgba(11,21,40,.84) 74%, rgba(11,21,40,.96) 100%), linear-gradient(90deg, rgba(11,21,40,.8) 0%, rgba(11,21,40,.25) 78%); }
.pw-hero--dim .pw-hero__title, .pw-hero--dim .pw-hero__lead { text-shadow: 0 2px 20px rgba(11,21,40,.6); }

/* Product illustrations (Danny) */
.pw-pic { margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--pw-cream-2); }
.pw-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pw-grid--cards { gap: 48px 28px; }
.pw-item--pic { display: flex; flex-direction: column; padding-top: 0; border-top: 0; }
.pw-item--pic .pw-pic { margin-bottom: 24px; }
.pw-item--pic .pw-link { margin-top: auto; align-self: flex-start; }
.pw-item--pic:hover .pw-pic img, .pw-product:hover .pw-pic img { transform: scale(1.04); }

/* Gold-foil hexagons on navy paper (Codex artwork, photo-sources.json "navy-foil") behind a navy section */
.pw-sec--hex { background: var(--pw-ink) url("/images/site/navy-foil-1536.webp") right center / cover no-repeat; }
@media (max-width: 959px) { .pw-sec--hex { background-image: url("/images/site/navy-foil-900.webp"); background-position: left bottom; } }

/* Three photographs in a collage */
.pw-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pw-collage .pw-media { border-radius: 14px; }
.pw-collage .pw-media--lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

/* How delivery works: four steps beside a photograph and a progress report */
.pw-how { display: grid; gap: 56px; }
@media (min-width: 960px) { .pw-how { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(56px, 6vw, 96px); align-items: start; } }
.pw-flow { margin: 0; padding: 0; list-style: none; }
.pw-flow li { position: relative; padding: 0 0 40px 78px; }
.pw-flow li:last-child { padding-bottom: 0; }
.pw-flow li::before { content: ""; position: absolute; left: 27px; top: 62px; bottom: 6px; width: 1px; background: rgba(212,168,64,.4); }
.pw-flow li:last-child::before { display: none; }
.pw-flow__n { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 1px solid rgba(212,168,64,.65); border-radius: 50%; box-sizing: border-box; font-family: var(--pw-serif); font-size: 18px; color: var(--pw-gold); }
.pw-flow .pw-item__title { padding-top: 12px; }
.pw-how__side { display: grid; gap: 20px; }
.pw-report { padding: clamp(24px, 3vw, 32px); border-radius: 16px; background: var(--pw-cream); color: var(--pw-ink); }
.pw-report__h { margin: 0 0 6px; font-family: var(--pw-serif); font-weight: 500; font-size: 21px; line-height: 1.35; letter-spacing: 0; color: var(--pw-ink); }
.pw-report__rows { counter-reset: pwrep; display: grid; margin: 0; padding: 0; list-style: none; }
.pw-report__rows li { counter-increment: pwrep; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px 14px; align-items: center; padding: 16px 0 2px; border-bottom: 1px solid var(--pw-line); }
.pw-report__rows li:last-child { border-bottom: 0; }
.pw-report__rows li::before { content: counter(pwrep); grid-row: span 2; align-self: start; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pw-ink); font-family: var(--pw-serif); font-size: 14px; color: var(--pw-gold); }
.pw-report__q { font-family: var(--pw-sans); font-size: 16px; font-weight: 600; color: var(--pw-ink); }
.pw-report__lines { display: block; height: 26px; background: linear-gradient(var(--pw-line), var(--pw-line)) 0 4px / 94% 5px no-repeat, linear-gradient(var(--pw-line), var(--pw-line)) 0 16px / 62% 5px no-repeat; }

/* Header on the public site */
#header:not(.portal-mode):not(.landing-mode) { box-shadow: none; border-bottom-color: rgba(212,168,64,.22); }
#header:not(.portal-mode):not(.landing-mode) .nav-link { position: relative; font-weight: 500; }
#header:not(.portal-mode):not(.landing-mode) .nav-link.active { color: #fff !important; }
#header:not(.portal-mode):not(.landing-mode) .nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; border-radius: 2px; background: var(--gold); }
#header:not(.portal-mode):not(.landing-mode) .cta-btn { background: var(--gold); color: var(--navy); }
#header:not(.portal-mode):not(.landing-mode) .cta-btn:hover { transform: none; opacity: 1; background: var(--gold-light); }

/* 中文 */
html[lang="zh"] .pw-page em { font-style: normal; }
html[lang="zh"] .pw-hero__title { max-width: 14em; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.3; letter-spacing: .02em; }
html[lang="zh"] .pw-h2, html[lang="zh"] .pw-cta h2 { max-width: 18em; line-height: 1.4; letter-spacing: .01em; }
html[lang="zh"] .pw-p, html[lang="zh"] .pw-item__body, html[lang="zh"] .pw-product__body, html[lang="zh"] .pw-tl-body { line-height: 1.85; }
html[lang="zh"] .pw-stat__label { max-width: 14em; }
html[lang="zh"] .pw-logos__title, html[lang="zh"] .pw-stages__label, html[lang="zh"] .pw-table thead th, html[lang="zh"] .pw-table__k { letter-spacing: .04em; }

/* Phones */
@media (max-width: 640px) {
  .pw-page { --pw-gutter: 16px; }
  .pw-hero__inner { padding-top: 72px; }
  .pw-hero::before { background: linear-gradient(180deg, rgba(11,21,40,.5) 0%, rgba(11,21,40,.64) 38%, rgba(11,21,40,.92) 100%); }
  .pw-hero__actions .pw-btn { flex: 1 1 100%; }
  .pw-cta__in .pw-btn { width: 100%; }
  .pw-media--wide { aspect-ratio: 16 / 10; }
  .pw-item--pic .pw-pic, .pw-product__pic { aspect-ratio: 16 / 9; }
  .pw-item--pic .pw-pic img, .pw-product__pic img { object-position: 50% 30%; }
  .pw-wechat__qr { width: 188px; }
}
@media (max-width: 560px) { .pw-formcard .name-grid { grid-template-columns: 1fr; } }

/* Scroll reveals: pw.js gives .pw-rv to what starts below the fold, then .is-in
   as it scrolls into view. Heroes rise on arrival. */
.pw-motion .pw-page .pw-rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s cubic-bezier(.2, .65, .3, 1), transform .8s cubic-bezier(.2, .65, .3, 1); }
.pw-motion .pw-page .pw-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .pw-page.active .pw-hero__media { animation: pw-settle 1.8s cubic-bezier(.2, .65, .3, 1) both; }
  /* One slow, even zoom from a photograph's first frame to its last. .is-on and
     .is-off name the SAME animation, so handing a photograph from one class to the
     other keeps it running: a different one there restarted it mid-fade, the jump
     the owner saw before each change (2026-11-12). 11s outlasts the 8s a photograph
     leads plus the 2.4s fade over it. */
  .pw-page.active .pw-hero__slides .pw-hero__media { animation: none; }
  .pw-page.active .pw-hero__slides .pw-hero__media.is-on,
  .pw-page.active .pw-hero__slides .pw-hero__media.is-off { animation: pw-drift 11s linear both; will-change: transform, opacity; }
  .pw-page.active .pw-hero__inner > * { animation: pw-rise .9s cubic-bezier(.2, .65, .3, 1) both; }
  .pw-page.active .pw-hero__inner > :nth-child(2) { animation-delay: .12s; }
  .pw-page.active .pw-hero__inner > :nth-child(3) { animation-delay: .24s; }
  .pw-page.active .pw-hero__inner > :nth-child(n+4) { animation-delay: .36s; }
}
@keyframes pw-settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes pw-rise { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }

/* Insights */
.pw-page [hidden] { display: none !important; }
.pw-hero--plain { min-height: clamp(300px, 42vh, 460px); background: radial-gradient(120% 140% at 88% 0%, #1c3263 0%, var(--pw-deep) 62%); }
.pw-hero--plain::before { content: none; }
.pw-back { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 0; border: 0; background: none; font-family: var(--pw-sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f0c84a; cursor: pointer; }
.pw-back::before { content: "\2190"; transition: transform .2s; }
.pw-back:hover::before { transform: translateX(-4px); }
.pw-back:focus-visible { outline: 2px solid var(--pw-gold); outline-offset: 3px; }
.pw-art__title { max-width: 28ch; font-size: clamp(32px, 4vw, 56px); line-height: 1.12; }
.pw-art__meta { margin: 0; font-family: var(--pw-sans); font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.74); }
.pw-ins-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.pw-ins-top .pw-h2 { margin: 0; }
.pw-ins-grid { display: grid; gap: 56px 32px; }
.pw-ins-grid:empty { min-height: 320px; }
@media (min-width: 640px) { .pw-ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pw-ins-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pw-ins-grid > .pw-p, .pw-ins-fail { grid-column: 1 / -1; }
.pw-ins-fail { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.pw-ins-fail .pw-p { margin: 0; }
/* Insights: the search beside the title, and numbered pages under the list */
.pw-ins-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.pw-ins-head .pw-hero__title { margin-bottom: 0; }
.pw-ins-search { position: relative; flex: 0 1 360px; min-width: 0; margin: 0; }
.pw-ins-search::before { content: ""; position: absolute; top: 50%; left: 18px; width: 12px; height: 12px; margin-top: -9px; border: 1.5px solid rgba(255,255,255,.72); border-radius: 50%; pointer-events: none; }
.pw-ins-search::after { content: ""; position: absolute; top: 50%; left: 31px; width: 1.5px; height: 7px; margin-top: 2px; border-radius: 1px; background: rgba(255,255,255,.72); transform: rotate(-45deg); pointer-events: none; }
.pw-ins-search input { display: block; width: 100%; height: 52px; margin: 0; padding: 0 16px 0 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; box-sizing: border-box; background: rgba(255,255,255,.07); font-family: var(--pw-sans); font-size: 16px; color: #fff; -webkit-appearance: none; appearance: none; transition: border-color .2s, background-color .2s; }
.pw-ins-search input::placeholder { color: rgba(255,255,255,.64); opacity: 1; }
.pw-ins-search input:hover { border-color: rgba(255,255,255,.55); }
.pw-ins-search input:focus { outline: none; border-color: var(--pw-gold); background: rgba(255,255,255,.11); }
.pw-ins-search input::-webkit-search-cancel-button { filter: invert(1) brightness(1.6); cursor: pointer; }
@media (max-width: 639px) { .pw-ins-search { flex-basis: 100%; } }
.pw-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--pw-line); font-family: var(--pw-sans); }
.pw-pager[hidden] { display: none; }
.pw-pager__nums { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; }
.pw-pager__num { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 22px; box-sizing: border-box; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--pw-ink); text-decoration: none; transition: background-color .2s, color .2s; }
.pw-pager__num:hover { background: var(--pw-cream-2); }
.pw-pager__num[aria-current="page"] { background: var(--pw-ink); color: #fff; }
.pw-pager__gap { min-width: 20px; text-align: center; color: var(--pw-muted); }
.pw-pager__step { display: inline-flex; flex: 1 1 0; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--pw-ink); text-decoration: none; }
.pw-pager__step--next { justify-content: flex-end; }
.pw-pager__step.is-off { visibility: hidden; }
.pw-pager__step--prev::before { content: "\2190"; transition: transform .2s; }
.pw-pager__step--next::after { content: "\2192"; transition: transform .2s; }
a.pw-pager__step--prev:hover::before { transform: translateX(-4px); }
a.pw-pager__step--next:hover::after { transform: translateX(4px); }
.pw-pager a:focus-visible { outline: 2px solid var(--pw-gold); outline-offset: 2px; }
@media (max-width: 479px) {
  .pw-pager { gap: 4px; }
  .pw-pager__step { flex: 0 0 44px; justify-content: center; }
  .pw-pager__step span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pw-pager__num { min-width: 40px; height: 40px; }
}
.pw-card { display: flex; flex-direction: column; gap: 22px; color: var(--pw-ink); text-decoration: none; }
.pw-card:focus-visible { outline: 2px solid var(--pw-gold); outline-offset: 6px; border-radius: 16px; }
.pw-card__img { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--pw-cream-2); }
.pw-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform .7s cubic-bezier(.2, .65, .3, 1); }
.pw-card:hover .pw-card__img img { transform: scale(1.04); }
.pw-card__body { display: flex; flex-direction: column; gap: 10px; }
.pw-card__title { margin: 0; font-family: var(--pw-serif); font-weight: 500; font-size: 22px; line-height: 1.32; letter-spacing: 0; color: var(--pw-ink); text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.pw-card:hover .pw-card__title { text-decoration-color: var(--pw-gold); }
.pw-card__meta { display: block; font-family: var(--pw-sans); font-size: 14px; line-height: 1.5; color: var(--pw-muted); }
/* Written by … · N min read, the meta line's second line */
.pw-card__by, .pw-art__by { display: block; margin-top: 2px; }
.pw-byline { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pw-author-avatars { display: flex; flex: none; gap: 4px; }
.pw-author-avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; background: var(--pw-ink); color: #fff; font-family: var(--pw-sans); font-size: 12px; font-weight: 600; }
.pw-author-avatar img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.pw-art__by .pw-author-avatar { box-shadow: 0 0 0 1px rgba(255,255,255,.25); width: 40px; height: 40px; font-size: 14px; }
.pw-byline__text { min-width: 0; overflow-wrap: anywhere; }

.pw-card__ex { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 6px; font-family: var(--pw-sans); font-size: 16.5px; line-height: 1.65; color: var(--pw-ink-2); }
.pw-card__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-family: var(--pw-sans); font-size: 15px; font-weight: 600; color: var(--pw-ink); }
.pw-card__more::after { content: "\2192"; transition: transform .2s; }
.pw-card:hover .pw-card__more::after { transform: translateX(4px); }
.pw-card--lead { grid-column: 1 / -1; }
.pw-card--lead .pw-card__title { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; letter-spacing: -0.01em; }
@media (min-width: 1024px) {
  .pw-card--lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--pw-line); }
  /* The photographs are about 450 pixels square: shown whole, and near their own size. */
  .pw-card--lead .pw-card__img { aspect-ratio: 1 / 1; }
}

/* An article */
.pw-art { display: block; max-width: 1040px; margin: 0 auto; }
.pw-art__photo { width: 100%; max-width: 520px; margin: 36px 0 0; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: rgba(255,255,255,.08); }
.pw-art__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (min-width: 1024px) {
  /* The photograph stands beside the title, their lower edges level. */
  #pw-art-hero .pw-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-rows: 1fr auto auto auto; column-gap: clamp(48px, 6vw, 96px); }
  #pw-art-hero .pw-hero__inner > * { grid-column: 1; }
  #pw-art-hero .pw-back { grid-row: 2; justify-self: start; }
  #pw-art-hero .pw-art__title { grid-row: 3; }
  #pw-art-hero .pw-art__meta { grid-row: 4; }
  #pw-art-hero .pw-art__photo { grid-column: 2; grid-row: 1 / -1; align-self: end; max-width: none; margin: 0; }
}
/* A Doinel cover, for an article whose own picture shows people (pw.js PW_INS_PHOTOS):
   the logo on the Codex gold-foil paper, navy or cream (photo-sources.json "navy-foil",
   "cream-foil"), the foil on the right in both. */
.pw-cover { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; background: var(--pw-ink); }
.pw-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/images/site/navy-foil-900.webp") right center / cover no-repeat; transition: transform .7s cubic-bezier(.2, .65, .3, 1); }
.pw-cover--1 { background: var(--pw-cream); }
.pw-cover--1::before { background-image: url("/images/site/cream-foil-900.webp"); }
.pw-card__img.pw-cover img, .pw-art__photo.pw-cover img { width: 46%; height: auto; object-fit: contain; }
.pw-card--lead .pw-card__img.pw-cover img { width: 42%; }
.pw-card:hover .pw-card__img.pw-cover img { transform: none; }
.pw-card:hover .pw-cover::before { transform: scale(1.04); }
.pw-art__photo.pw-cover { border: 1px solid rgba(255, 255, 255, .16); }
@media (min-width: 640px) {
  .pw-art__photo.pw-cover::before { background-image: url("/images/site/navy-foil-1536.webp"); }
  .pw-art__photo.pw-cover--1::before { background-image: url("/images/site/cream-foil-1536.webp"); }
}

.pw-art__body { max-width: 720px; margin: 0 auto; font-family: var(--pw-sans); font-size: 18px; line-height: 1.75; color: var(--pw-ink-2); overflow-wrap: break-word; }
.pw-art__body:lang(zh) { font-size: 17px; line-height: 1.95; }
.pw-art__body p { margin: 0 0 1.15em; }
.pw-art__body h2 { margin: 2em 0 .7em; font-family: var(--pw-serif); font-weight: 500; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.32; letter-spacing: 0; color: var(--pw-ink); }
.pw-art__body:lang(zh) h2 { line-height: 1.5; }
.pw-art__body strong { font-weight: 600; color: var(--pw-ink); }
.pw-art__body ul { margin: 0 0 1.15em; padding-left: 1.25em; list-style: disc; }
.pw-art__body li { margin: 0 0 .45em; padding-left: .2em; }
.pw-art__body li::marker { color: var(--pw-gold); }
.pw-art__body a { color: inherit; text-decoration: underline; text-decoration-color: var(--pw-gold); text-underline-offset: 3px; overflow-wrap: anywhere; }
.pw-art__body .pw-art__src { margin-bottom: .7em; font-size: 14px; line-height: 1.6; color: var(--pw-muted); }
/* A source note under a passage, and a box ("Try the question first") */
.pw-art__body .pw-art__note { margin: 0 0 1.4em; font-size: 14px; line-height: 1.6; color: var(--pw-muted); }
.pw-art__box { margin: 1.6em 0; padding: 24px 28px; border: 1px solid var(--pw-line); border-radius: 16px; background: var(--pw-cream); }
.pw-art__body .pw-art__box p { margin: 0 0 .6em; }
.pw-art__body .pw-art__box p:last-child { margin-bottom: 0; }
.pw-art__body .pw-art__boxlabel { font-weight: 600; color: var(--pw-ink); }
.pw-art__body .pw-art__box .pw-art__note { margin-top: .9em; }
@media (max-width: 639px) { .pw-art__box { padding: 20px 20px; } }
.pw-art__table { margin: 0 0 1.4em; overflow-x: auto; }
.pw-art__table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.pw-art__table th, .pw-art__table td { padding: 12px 18px 12px 0; border-bottom: 1px solid var(--pw-line); text-align: left; vertical-align: top; }
.pw-art__table thead th { border-bottom-color: var(--pw-ink); font-weight: 600; color: var(--pw-ink); }
.pw-art__more { margin-top: clamp(72px, 9vw, 112px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--pw-line); }
.pw-art__more .pw-h2 { margin-bottom: clamp(32px, 4vw, 48px); }

/* Open positions: pw.js draws one row per role. */
.pw-jobs__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: clamp(28px, 3vw, 40px) 0 24px; }
.pw-jobs__bar:empty { display: none; }
.pw-jobs__filters { display: flex; flex-wrap: wrap; gap: 12px; }
.pw-select { position: relative; display: block; }
.pw-select select { display: block; min-width: 200px; height: 48px; margin: 0; padding: 0 44px 0 16px; border: 1px solid #d8d1c5; border-radius: 8px; background: #fff; font-family: var(--pw-sans); font-size: 16px; color: var(--pw-ink); cursor: pointer; -webkit-appearance: none; appearance: none; }
.pw-select::after { content: ""; position: absolute; top: 50%; right: 18px; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid var(--pw-ink); border-bottom: 1.5px solid var(--pw-ink); transform: rotate(45deg); pointer-events: none; }
.pw-select select:hover { border-color: var(--pw-ink); }
.pw-select select:focus-visible { outline: 2px solid var(--pw-gold); outline-offset: 2px; }
.pw-jobs__count { margin: 0 0 0 auto; font-family: var(--pw-sans); font-size: 15px; color: var(--pw-muted); }
.pw-jobs__clear { padding: 6px 0; border: 0; background: none; font-family: var(--pw-sans); font-size: 15px; font-weight: 600; color: var(--pw-gold-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pw-jobs { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--pw-line); }
.pw-job { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 32px; grid-template-areas: "title go" "meta go" "desc go"; column-gap: 24px; padding: 28px 0 30px; border-top: 1px solid var(--pw-line); }
.pw-job__title { grid-area: title; margin: 0 0 8px; font-family: var(--pw-serif); font-weight: 500; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.3; letter-spacing: 0; }
.pw-job__title button { padding: 0; border: 0; background: none; font: inherit; color: var(--pw-ink); text-align: left; cursor: pointer; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.pw-job__title button::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.pw-job__title button:focus-visible { outline: none; }
.pw-job__title button:focus-visible::after { outline: 2px solid var(--pw-gold); outline-offset: 2px; }
.pw-job:hover .pw-job__title button { text-decoration-color: var(--pw-gold); }
.pw-job__meta { grid-area: meta; margin: 0; font-family: var(--pw-sans); font-size: 14.5px; line-height: 1.5; color: var(--pw-muted); }
.pw-job__desc { grid-area: desc; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-width: 46rem; margin: 12px 0 0; font-family: var(--pw-sans); font-size: 15.5px; line-height: 1.6; color: var(--pw-ink-2); }
.pw-job__go { grid-area: go; align-self: center; justify-self: end; font-size: 22px; line-height: 1; color: var(--pw-ink); transition: transform .2s; }
.pw-job__go::after { content: "\2192"; }
.pw-job:hover .pw-job__go { transform: translateX(4px); }
.pw-job__draft { display: inline-block; margin-left: 10px; padding: 1px 10px; border-radius: 6px; background: #fdf6e3; font-size: 12.5px; font-weight: 600; color: #92600a; }
.pw-jobs__none { margin: clamp(28px, 3vw, 40px) 0 0; font-family: var(--pw-sans); font-size: 17px; line-height: 1.6; color: var(--pw-ink-2); }

html[lang="zh"] .pw-art__title { max-width: 22em; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.4; }
/* A Chinese title breaks at its punctuation, and mid-phrase only when it must. */
html[lang="zh"] .pw-art__title, html[lang="zh"] .pw-card__title { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .pw-jobs__filters, .pw-select, .pw-select select { width: 100%; }
  .pw-jobs__count { margin-left: 0; }
}
@media print {
  .pw-motion .pw-page .pw-rv { opacity: 1 !important; transform: none !important; }
  .pw-marquee.is-looping { -webkit-mask-image: none; mask-image: none; }
  .pw-marquee.is-looping .pw-marquee__track { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
  .pw-marquee__track li[aria-hidden="true"] { display: none; }
}

/* About: Danny, the Doinel lion. A figure and a plain list, no hotspots. */
.pw-danny { overflow: hidden; }
.pw-danny__in { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pw-danny__fig { margin: 0; display: flex; justify-content: center; }
.pw-danny__fig img { display: block; width: min(100%, 340px); height: auto; }
.pw-danny__copy { min-width: 0; }
.pw-danny .pw-h2 { max-width: 18ch; }
.pw-danny__list { margin: clamp(28px, 3.5vw, 40px) 0 0; padding: 0; display: grid; }
.pw-danny__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.pw-danny__row:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.pw-danny__row dt { margin: 0; font-family: var(--pw-serif); font-size: 21px; line-height: 1.3; color: var(--pw-gold); }
.pw-danny__row dd { margin: 0; font-family: var(--pw-sans); font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.78); }
@media (min-width: 720px) { .pw-danny__row { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: baseline; } }
@media (min-width: 960px) { .pw-danny__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .pw-danny__fig img { width: min(100%, 400px); } }
html[lang="zh"] .pw-danny__row dt { font-size: 20px; letter-spacing: .02em; }
