/* The corporate gifts page (/pages/corporate): one idea to a screen, in the engraving studio's fine ink lines on paper,
   gold only where there is gold. Stands on page.css alone (the header, the footer, the form's fields and the colours). */
.pg--full { max-width: none; padding: 0; }
.cx { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.cx-wrap { max-width: 1100px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.cx [hidden] { display: none !important; }
.cx h2 { margin: 0 0 18px; font: 500 clamp(31px, 4.1vw, 50px)/1.08 'Bodoni Moda', Georgia, serif; letter-spacing: -.01em; color: var(--ink); }
.cx h1 em, .cx h2 em { font-style: italic; color: var(--gold); }
.cx h2 em { display: block; }
.cx p { color: var(--ink-2); }
.cx-label { display: block; margin: 0 0 12px; padding: 0; font: 700 12px/1.4 'DM Sans', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cx-small { font-size: 14.5px; line-height: 1.6; color: var(--muted) !important; }
.cx-bad { color: var(--bad) !important; }
.cx-link { padding: 0; border: 0; background: none; color: var(--gold); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 0; background: var(--ink); color: #fff; font: 700 13.5px/1 'DM Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s; }
.cx-btn:hover { background: #2d261d; }
.cx-btn:focus-visible, .cx-link:focus-visible, .cx-views button:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; }
.cx-btn:disabled { opacity: .6; cursor: wait; }
.cx-check { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; font-weight: 500; line-height: 1.45; cursor: pointer; }
.cx-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.cx-check small { color: var(--muted); font-weight: 400; }

/* ---------- 1. the drawing ---------- */
.cx-hero { position: relative; display: grid; min-height: clamp(450px, calc(100svh - 290px), 680px); }
.cx-stage { position: absolute; inset: 0; z-index: 0; }
.cx-stage canvas { display: block; }
.cx-stage img { position: absolute; right: 2%; top: 50%; width: 46%; height: auto; transform: translateY(-50%); border: 1px solid var(--line); }
.cx-hero.is-still .cx-hero__views, .cx-hero.is-still .cx-key, .cx-hero.is-still .cx-count { display: none; }
.cx-hero__copy, .cx-hero__foot { position: relative; z-index: 1; width: 100%; pointer-events: none; }
.cx-hero__copy { align-self: center; padding-top: 26px; padding-bottom: 26px; }
.cx-hero__copy > div { max-width: 500px; }
.cx-kicker { display: block; margin: 0 0 20px; font: 700 12px/1.4 'DM Sans', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cx h1 { margin: 0 0 22px; font: 500 clamp(40px, 5.3vw, 68px)/1.02 'Bodoni Moda', Georgia, serif; letter-spacing: -.015em; color: var(--ink); }
.cx-lede { max-width: 30em; margin: 0 0 22px; font-size: 19px; line-height: 1.6; }
.cx-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.cx-facts li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 9px; transform: rotate(45deg) translateY(-2px); background: var(--gold-l); }
.cx-hero__foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 14px 26px; min-height: 58px; padding-bottom: 14px; }
/* a short screen: the words a little smaller, so the controls under the drawing are still on the first screen */
@media (min-width: 861px) and (max-height: 820px) {
  .cx h1 { margin-bottom: 16px; font-size: clamp(40px, 4.5vw, 58px); }
  .cx-kicker { margin-bottom: 14px; }
  .cx-lede { margin-bottom: 16px; font-size: 17.5px; }
}
.cx-hero__views { position: absolute; left: 0; right: 0; top: 14px; z-index: 2; display: flex; justify-content: flex-end; pointer-events: none; }
.cx-views { display: flex; align-items: center; gap: 4px; pointer-events: auto; }
.cx-views button { min-height: 38px; padding: 0 14px; border: 1px solid transparent; background: none; color: var(--muted); font: 600 13.5px 'DM Sans', sans-serif; cursor: pointer; transition: color .2s, border-color .2s; }
.cx-views button:hover { color: var(--ink); }
.cx-views button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.cx-views .cx-views__again { margin-left: 8px; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cx-key, .cx-count { margin: 0; transition: opacity .35s; }
.cx-key { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; padding: 0; list-style: none; counter-reset: k; font-size: 13.5px; color: var(--ink-2); }
.cx-key li { display: inline-flex; align-items: center; gap: 8px; counter-increment: k; }
.cx-key li::before { content: counter(k); display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--ink); border-radius: 50%; font: 700 10.5px/1 'DM Sans', sans-serif; color: var(--ink); }
.cx-count { position: absolute; right: 16px; bottom: 30px; font: italic 600 21px/1.3 'Cormorant Garamond', Georgia, serif; color: var(--ink) !important; opacity: 0; }
.cx-hero.is-team .cx-key, .cx-hero.is-film .cx-key { opacity: 0; }
.cx-hero.is-team .cx-count { opacity: 1; }
/* without scripts there is no drawing: the photograph stands in, and the controls that need the drawing step aside */
html:not(.cx-js) .cx-hero__views, html:not(.cx-js) .cx-key, html:not(.cx-js) .cx-bar__controls { display: none; }

/* ---------- the three controls and the price ---------- */
.cx-bar { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; max-width: 1068px; padding: 0; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(40, 30, 10, .35); scroll-margin-top: 16px; }
.cx-bar__controls { display: grid; grid-template-columns: auto minmax(150px, 1fr) auto; align-items: start; gap: 0 30px; padding: 22px 26px 16px; }
.cx-bar__cell { min-width: 0; margin: 0; padding: 0; border: 0; }
.cx-bar .cx-label { margin-bottom: 10px; font-size: 11px; letter-spacing: .18em; color: var(--muted); }
.cx-logo { display: flex; align-items: center; gap: 12px; }
.cx-file { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border: 1px solid var(--ink); color: var(--ink); font: 700 12.5px/1 'DM Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.cx-file::before { content: '+'; font: 400 20px/1 'DM Sans', sans-serif; margin-top: -2px; }
.cx-file.has-logo::before { content: none; }
.cx-file:hover { background: var(--ink); color: #fff; }
.cx-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cx-file:focus-within { outline: 2px solid var(--gold-l); outline-offset: 3px; }
.cx-team { display: flex; align-items: center; gap: 8px; min-height: 46px; }
.cx-team input[type=number] { flex: none; width: 2.6ch; min-width: 58px; padding: 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; color: var(--ink); font: 500 34px/1 'Bodoni Moda', Georgia, serif; -moz-appearance: textfield; appearance: textfield; }
.cx-team input::-webkit-outer-spin-button, .cx-team input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cx-team input[type=number]:hover, .cx-team input[type=number]:focus { outline: none; border-bottom-color: var(--gold-l); }
.cx-team span { display: none; flex: none; margin-right: 10px; font-size: 15px; color: var(--muted); }
.cx-range { flex: 1 1 90px; min-width: 70px; height: 26px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.cx-range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--gold-l) var(--fill, 30%), rgba(30, 24, 16, .16) var(--fill, 30%)); }
.cx-range::-moz-range-track { height: 2px; background: rgba(30, 24, 16, .16); }
.cx-range::-moz-range-progress { height: 2px; background: var(--gold-l); }
.cx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border: 1px solid #a2731f; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6e2a4, #c9a24e 62%, #a2731f); box-shadow: 0 2px 6px rgba(60, 40, 0, .28); }
.cx-range::-moz-range-thumb { width: 20px; height: 20px; border: 1px solid #a2731f; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6e2a4, #c9a24e 62%, #a2731f); box-shadow: 0 2px 6px rgba(60, 40, 0, .28); }
.cx-range:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 4px; }
.cx-grams { display: none; }
.cx-chips { display: flex; gap: 4px; }
.cx-chip { position: relative; cursor: pointer; }
.cx-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cx-chip span { display: inline-flex; align-items: baseline; justify-content: center; min-width: 44px; min-height: 46px; padding: 14px 6px 0; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14.5px/1.2 'DM Sans', sans-serif; transition: border-color .2s, background .2s, color .2s; }
.cx-chip small { font-size: 11px; font-weight: 500; color: var(--muted); }
.cx-chip:hover span { border-color: var(--ink); }
.cx-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.cx-chip input:checked + span small { color: rgba(255, 255, 255, .7); }
.cx-chip input:focus-visible + span { outline: 2px solid var(--gold-l); outline-offset: 3px; }
.cx-bar__note, .cx-bar__extra { grid-column: 1 / -1; margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted) !important; }
.cx-bar__note.is-bad { color: var(--bad) !important; }
.cx-bar__extra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin-top: 0; }
.cx-bar__extra > * { margin-top: 8px; font-size: 14px; }
.cx-bar__result { display: flex; flex-direction: column; justify-content: center; width: 284px; padding: 18px 26px 20px; border-left: 1px solid var(--line); }
.cx-price, .cx-total { margin: 0; }
.cx-price { font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.cx-price b { margin-right: 4px; font: 500 34px/1.1 'Bodoni Moda', Georgia, serif; color: var(--ink); }
.cx-total { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-2) !important; }
.cx-engr { margin: 2px 0 14px; font-size: 12.5px; line-height: 1.45; color: var(--muted) !important; }
.cx-bar__result .cx-btn { min-height: 50px; padding: 0 18px; }

/* ---------- 2. the real card ---------- */
.cx-real { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 104px; padding-bottom: 104px; scroll-margin-top: 0; }
.cx-photo { margin: 0; }
.cx-photo__frame { background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(40, 30, 10, .45); }
.cx-photo__frame img, .cx-card { display: block; width: 100%; height: auto; aspect-ratio: 922 / 676; background: #fff; }
.cx-photo figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.cx-onphoto { mix-blend-mode: multiply; --cx-ink: #1a1512; }
.cx-onphoto.is-gold-finish { --cx-ink: #b08a3e; }
.cx-ink text, .cx-ex text { fill: var(--cx-ink, #1a1512); }
.cx-ex path { fill: none; stroke: var(--cx-ink, #1a1512); stroke-linejoin: round; }
.cx-ex .cx-ex-fill { fill: var(--cx-ink, #1a1512); stroke: none; }
.cx-real__copy > p { font-size: 18px; }
.cx .cx-real__lede { margin: 0 0 22px; }
/* the name and message: plain lines to write on, like the studio's */
.cx-words { display: grid; gap: 16px; margin: 0 0 22px; }
.cx-field { display: grid; gap: 6px; font: 700 11px/1.4 'DM Sans', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cx-field input, .cx-field textarea { width: 100%; padding: 6px 0 8px; border: 0; border-bottom: 1px solid rgba(30, 24, 16, .3); border-radius: 0; background: none; color: var(--ink); font: italic 600 23px/1.3 'Cormorant Garamond', Georgia, serif; letter-spacing: 0; text-transform: none; resize: none; transition: border-color .2s; }
.cx-field textarea { min-height: 3.9em; }
.cx-field input:focus, .cx-field textarea:focus { outline: none; border-bottom-color: var(--gold-l); }
.cx-field input:focus-visible, .cx-field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--gold-l); }
.cx-words .cx-small { margin: -6px 0 0; font-size: 13.5px; }
.cx .cx-csv { margin: 0 0 18px; font-size: 15.5px; line-height: 1.55; }
.cx-csv a { color: var(--gold); white-space: nowrap; text-underline-offset: 3px; }
.cx-share { margin: 0; font-size: 15.5px; }
html:not(.cx-js) .cx-words, html:not(.cx-js) .cx-real__lede { display: none; }

/* ---------- 3. why gold is kept ---------- */
.cx-kept { padding: 112px 0 104px; background: #14110d; color: #f3ecdf; overflow: hidden; }
.cx .cx-kept h2 { margin-bottom: 56px; color: #f3ecdf; font-size: clamp(34px, 4.5vw, 60px); }
.cx .cx-kept h2 em { color: #e2bb62; }
.cx-life { position: relative; margin: 0 0 64px; padding-bottom: 34px; }
.cx-life__row { display: grid; grid-template-columns: 112px 1fr; align-items: center; height: 46px; }
.cx-life__row span { font-size: 15px; color: rgba(243, 236, 223, .82); }
.cx-life__row i { grid-column: 2; grid-row: 1; display: block; width: var(--len); height: 1px; background: rgba(243, 236, 223, .62); transform-origin: 0 50%; }
.cx-life__row b { grid-column: 2; grid-row: 1; justify-self: start; margin-left: calc(var(--len) + 14px); font: italic 600 19px/1 'Cormorant Garamond', Georgia, serif; color: rgba(243, 236, 223, .62); }
.cx-life__row b::before { content: ''; position: absolute; width: 1px; height: 11px; margin: 4px 0 0 -14px; background: rgba(243, 236, 223, .62); }
.cx-life__row--gold { --len: 100%; }
.cx-life__row--gold span { color: #e2bb62; font-weight: 700; }
.cx-life__row--gold i { width: calc(100% + 50vw); height: 2px; background: linear-gradient(to right, #e2bb62, #f3d98f 30%, #c9973a 60%, #e2bb62); }
.cx-life__row--gold b { justify-self: end; margin: -32px 0 0; color: #e2bb62; font-size: 25px; }
.cx-life__row--gold b::before { content: none; }
.cx-life__axis { position: absolute; left: 112px; right: 0; bottom: 0; height: 26px; border-top: 1px solid rgba(243, 236, 223, .16); }
.cx-life__axis span { position: absolute; left: var(--at); top: 0; padding-top: 9px; transform: translateX(-50%); font: 700 10.5px/1 'DM Sans', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 236, 223, .5); white-space: nowrap; }
.cx-life__axis span::before { content: ''; position: absolute; left: 50%; top: -4px; width: 1px; height: 8px; background: rgba(243, 236, 223, .4); }
.cx .cx-kept__say { max-width: 30em; margin: 0 0 64px; font: 500 clamp(22px, 2.5vw, 29px)/1.4 'Cormorant Garamond', Georgia, serif; color: #f3ecdf; }
.cx-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; padding-top: 34px; border-top: 1px solid rgba(243, 236, 223, .16); }
.cx-three h3 { margin: 0 0 8px; font: 700 12px/1.4 'DM Sans', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #e2bb62; }
.cx .cx-three p { margin: 0; font-size: 16px; color: rgba(243, 236, 223, .8); }
/* the lines draw themselves when the screen comes into view (corporate.js adds .is-seen); still for less motion */
@media (prefers-reduced-motion: no-preference) {
  .cx-js .cx-life__row i { transform: scaleX(0); transition: transform 1s cubic-bezier(.55, .06, .3, 1); }
  .cx-js .cx-life__row b { opacity: 0; transition: opacity .5s; }
  .cx-js .cx-life__row:nth-child(2) i { transition-delay: .12s; } .cx-js .cx-life__row:nth-child(3) i { transition-delay: .24s; }
  .cx-js .cx-life__row--gold i { transition-duration: 2.2s; transition-delay: .4s; }
  .cx-js .is-seen .cx-life__row i { transform: none; }
  .cx-js .is-seen .cx-life__row b { opacity: 1; transition-delay: 1s; }
  .cx-js .is-seen .cx-life__row:nth-child(2) b { transition-delay: 1.12s; } .cx-js .is-seen .cx-life__row:nth-child(3) b { transition-delay: 1.24s; }
  .cx-js .is-seen .cx-life__row--gold b { transition-delay: 1.9s; }
  .cx-js .cx-gauge li { opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s; transition-delay: calc(var(--i, 0) * 70ms); }
  .cx-js .is-seen .cx-gauge li { opacity: 1; transform: none; }
}

/* ---------- 4. the seven weights ---------- */
.cx-weights { padding-top: 104px; padding-bottom: 96px; }
.cx-weights h2 { max-width: 17em; }
.cx-sub { max-width: 40em; margin: 0 0 44px; font-size: 18px; }
.cx-gauge { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; margin: 0 0 34px; padding: 0; list-style: none; border-bottom: 1px solid var(--ink); }
.cx-gauge li { display: flex; flex-direction: column; align-items: center; padding: 0 8px 22px; text-align: center; }
.cx-gauge li:nth-child(1) { --i: 0; } .cx-gauge li:nth-child(2) { --i: 1; } .cx-gauge li:nth-child(3) { --i: 2; } .cx-gauge li:nth-child(4) { --i: 3; } .cx-gauge li:nth-child(5) { --i: 4; } .cx-gauge li:nth-child(6) { --i: 5; } .cx-gauge li:nth-child(7) { --i: 6; }
.cx-case { display: block; width: min(100%, 98px); height: auto; margin-bottom: 20px; }
.cx-case rect, .cx-case path, .cx-case circle { fill: none; vector-effect: non-scaling-stroke; }
.cx-i { stroke: rgba(26, 22, 19, .7); stroke-width: 1; }
.cx-s { stroke: rgba(26, 22, 19, .24); stroke-width: .8; }
.cx-g { stroke: #a2731f; stroke-width: 1.15; stroke-linejoin: round; }
.cx-case .cx-g--fill { fill: rgba(233, 196, 112, .34); }
.cx-g--thin { stroke-width: .75; }
.cx-gauge b { font: 500 25px/1.1 'Bodoni Moda', Georgia, serif; color: var(--ink); }
.cx-gauge__p { margin-top: 6px; font-weight: 600; font-size: 16px; color: var(--ink); }
.cx-gauge__m { margin-top: 4px; font: italic 600 17px/1.25 'Cormorant Garamond', Georgia, serif; color: var(--muted); }
.cx-weights .cx-small { max-width: 52em; margin: 0 0 8px; }

/* ---------- 5. the proof ---------- */
.cx-proof { padding: 100px 0; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 0; }
.cx-proof__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; align-items: start; }
.cx-proof__copy > p { font-size: 18px; }
.cx-steps { margin: 30px 0 26px; padding: 0; list-style: none; counter-reset: s; }
.cx-steps li { position: relative; padding: 0 0 20px 48px; counter-increment: s; }
.cx-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; background: var(--panel); font: 700 12px/1 'DM Sans', sans-serif; color: var(--ink); }
.cx-steps li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 34px; bottom: 6px; width: 1px; background: var(--line); }
.cx-steps b { display: block; color: var(--ink); }
.cx-steps span { display: block; font-size: 15.5px; color: var(--ink-2); }
.cx-form { background: var(--bg); padding: 28px 26px; }
.cx-form[hidden] { display: none; }
.cx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.cx-form input:not([type=checkbox]), .cx-form select { height: 50px; padding-top: 0; padding-bottom: 0; }
.pg-form.cx-form textarea { min-height: 96px; }
.cx-form label small, .cx-more summary small { margin-left: 6px; color: var(--muted); font-weight: 400; }
.cx .cx-recap { margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); font: italic 600 20px/1.35 'Cormorant Garamond', Georgia, serif; color: var(--ink); }
.cx-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cx-more summary { position: relative; padding: 15px 30px 15px 0; font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.cx-more summary::-webkit-details-marker { display: none; }
.cx-more summary::after { content: '+'; position: absolute; right: 2px; top: 9px; font-size: 24px; font-weight: 400; color: var(--gold); }
.cx-more[open] summary::after { content: '\2212'; }
.cx-more__in { display: grid; gap: 18px; padding: 6px 0 22px; }
.cx-form__set { margin: 0; padding: 0; border: 0; min-width: 0; }
.cx-form__set legend { margin: 0 0 8px; padding: 0; font-size: 15px; font-weight: 600; }
.cx-form__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.pg-form .cx-check { display: flex; font-weight: 500; }
.pg-form .cx-check input { width: 18px; height: 18px; padding: 0; }
.pg-form [aria-invalid="true"] { border-color: var(--bad); }
.cx-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 12px 14px; background: #fff; border: 1px dashed rgba(30, 24, 16, .26); }
.cx-attach img { width: 150px; height: 110px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.cx-proof .pg-ok:focus, .cx-proof .pg-bad:focus { outline: none; }
.cx-form .cx-btn { justify-self: start; }

/* ---------- 6. questions ---------- */
.cx-questions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 0 64px; align-items: start; padding-top: 96px; padding-bottom: 90px; }
.cx-questions > div { min-width: 0; }
.cx-faq details { border-bottom: 1px solid var(--line); }
.cx-faq details:first-child { border-top: 1px solid var(--line); }
.cx-faq summary { position: relative; padding: 18px 34px 18px 0; font-weight: 600; font-size: 17.5px; color: var(--ink); list-style: none; cursor: pointer; }
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::after { content: '+'; position: absolute; right: 2px; top: 12px; font-size: 26px; font-weight: 400; color: var(--gold); }
.cx-faq details[open] summary::after { content: '\2212'; }
.cx-faq p { margin: 0 0 20px; max-width: 46em; }
.cx-more-links { margin: 34px 0 0; font-size: 15.5px; color: var(--muted) !important; }

/* ---------- narrower screens ---------- */
@media (max-width: 1040px) {
  .cx-bar { grid-template-columns: minmax(0, 1fr); margin-left: 16px; margin-right: 16px; }
  .cx-bar__controls { grid-template-columns: auto minmax(0, 1fr); gap: 20px 30px; }
  .cx-bar__gold { grid-column: 1 / -1; }
  .cx-bar__note { margin-top: 0; }
  .cx-team span { display: inline; }
  .cx-bar__result { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 22px; width: auto; padding: 18px 26px; border-left: 0; border-top: 1px solid var(--line); }
  .cx-sum { flex: 1 1 200px; }
  .cx-engr { margin-bottom: 0; }
  .cx-chips { flex-wrap: wrap; }
  .cx-real { gap: 40px; }
  .cx-proof__grid { gap: 44px; }
}
@media (max-width: 860px) {
  /* the headline, then the drawing straight under it (so both are on the first screen), then its key and the words */
  .cx-hero { display: flex; flex-direction: column; min-height: 0; }
  .cx-hero__copy, .cx-hero__copy > div { display: contents; }
  .cx h1 { order: 1; margin: 0; padding: 24px 16px 0; font-size: clamp(38px, 10.4vw, 56px); }
  .cx-stage { order: 2; position: relative; inset: auto; height: clamp(290px, 76vw, 470px); }
  .cx-stage img { position: static; width: 100%; transform: none; border: 0; }
  html:not(.cx-js) .cx-stage, .cx-hero.is-still .cx-stage { height: auto; }
  .cx-hero__views { order: 3; position: static; justify-content: center; padding-top: 0; padding-bottom: 10px; }
  .cx-hero__foot { order: 4; position: relative; flex-direction: column; align-items: stretch; gap: 12px; min-height: 0; padding-bottom: 20px; }
  .cx-lede { order: 5; max-width: none; margin: 0; padding: 0 16px 16px; font-size: 17.5px; }
  .cx-facts { order: 6; padding: 0 16px 28px; }
  .cx-key { justify-content: flex-start; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; min-height: 56px; }
  .cx-count { position: absolute; left: 16px; right: 16px; bottom: 34px; text-align: center; }
  .cx-real, .cx-proof__grid { grid-template-columns: minmax(0, 1fr); }
  .cx-real { padding-top: 72px; padding-bottom: 72px; }
  /* the heading, then the photograph straight above the name and message, so the words can be seen while typing */
  .cx-real { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .cx-real__copy { display: contents; }
  .cx-real__copy > .cx-label { order: 1; } .cx-real__copy > h2 { order: 2; } .cx .cx-real__lede { order: 3; margin-bottom: 18px; }
  .cx-photo { order: 4; margin-bottom: 24px; }
  .cx-words { order: 5; } .cx-csv { order: 6; } .cx-share { order: 7; } .cx-real__copy > [data-cx-photo-note] { order: 8; }
  .cx-kept { padding: 78px 0 72px; }
  .cx .cx-kept h2 { margin-bottom: 40px; }
  .cx-three { grid-template-columns: 1fr; gap: 24px; }
  .cx-weights { padding-top: 72px; padding-bottom: 64px; }
  .cx-gauge { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 14px; }
  .cx-proof { padding: 72px 0; }
  .cx-questions { grid-template-columns: minmax(0, 1fr); padding-top: 68px; padding-bottom: 64px; }
}
@media (max-width: 620px) {
  .cx-bar { margin-left: 12px; margin-right: 12px; }
  .cx-bar__controls { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px 16px 16px; }
  .cx-bar__result { padding: 16px; }
  .cx-bar__result .cx-btn { flex: 1 1 100%; margin-top: 10px; }
  .cx-file { width: 100%; justify-content: center; }
  .cx-logo { flex-wrap: wrap; }
  /* all seven weights on one row */
  .cx-chips { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .cx-chip span { width: 100%; min-width: 0; padding: 15px 0 0; font-size: 13px; }
  .cx-chip small { display: none; }
  .cx-grams { display: inline; }
  .cx-life__row { grid-template-columns: 84px 1fr; }
  .cx-life__axis { left: 84px; }
  .cx-life__axis span { letter-spacing: .06em; font-size: 9.5px; }
  .cx-gauge li { padding-left: 4px; padding-right: 4px; }
  .cx-gauge b { font-size: 20px; }
  .cx-gauge__p { font-size: 14.5px; }
  .cx-gauge__m { font-size: 15.5px; }
  .cx-form { padding: 22px 16px; }
  .cx-form__row, .cx-form__checks { grid-template-columns: 1fr; }
  .cx-form .cx-btn { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .cx-btn, .cx-chip span, .cx-file, .cx-key, .cx-count { transition: none; } }
