/* Billman Midstream Trading — Corporate Profile (A4 landscape publication), October 2026 design.
   Loaded only on /company-profile/. Type: Commissioner for text, Gloock for headlines.

   Every sheet is an A4 landscape page (297 x 210 mm). On screen the sheets scale with the
   window: all sizes inside a sheet are in cqw (1cqw = 1% of the page width), so the page
   keeps its composition at any size and prints at exactly one sheet per page.

   Grid: 12 columns, 5.4cqw outer margins (16 mm in print), 1.6cqw gutters.
   Rules used throughout:
   - Running header (top) and folio (bottom) on every page except cover and back cover.
   - Chapter number + chapter name in the running header; page number in the folio.
   - Red marks product, the buyer and anything the company commits to; navy marks payment
     and institutional content. The logo's double line is the chain diagram's base. */

.profile-desk {
  --display: var(--sans);
  --text: var(--sans);
  --red: #D7000F; --red-lit: #FF4B55; --navy: #12283C; --ink: #17212B; --body: #2B3540; --muted: #56626E;
  --stone: #EDF0F3; --line: #CDD4DB; --line-dark: rgba(255, 255, 255, 0.16); --on-navy: #D7DEE6; --on-navy-muted: #A9B8C7; --paper: #FFFFFF;
}

.profile-desk { background: #E6EAEE; padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.profile-desk .wrap { max-width: 104rem; }
.sheets { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.sheet-label { display: flex; justify-content: space-between; font: 600 0.8125rem / 1 var(--display); color: var(--muted); margin-bottom: 0.75rem; }

.sheet {
  position: relative; width: 100%; aspect-ratio: 297 / 210; overflow: hidden;
  container-type: inline-size; background: var(--paper); color: var(--body);
  box-shadow: 0 1px 2px rgba(11, 26, 42, 0.08), 0 20px 50px -20px rgba(11, 26, 42, 0.35);
}
.pg {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: 1.6cqw; padding: 3.6cqw 5.4cqw 3cqw;
  font-family: var(--text); font-size: 1.12cqw; line-height: 1.55;
}
.pg > .body { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: subgrid; align-content: start; min-height: 0; }

/* Running header and folio */
.run, .folio { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font: 600 0.72cqw / 1 var(--display); color: var(--muted); }
.run { grid-row: 1; padding-bottom: 1.1cqw; border-bottom: 0.08cqw solid var(--line); margin-bottom: 2.6cqw; }
.run b { color: var(--red); font-weight: 700; margin-right: 0.8cqw; }
.folio { grid-row: 3; padding-top: 1.1cqw; }
.folio .num { font: 300 1.5cqw / 1 var(--display); color: var(--ink); }
.sheet--dark .run, .sheet--dark .folio { color: var(--on-navy-muted); border-color: var(--line-dark); }
.sheet--dark .run b { color: var(--red-lit); }
.sheet--dark .folio .num { color: var(--paper); }

/* Type */
.k { display: block; font: 700 0.74cqw / 1.3 var(--display); color: var(--red); margin-bottom: 1.4cqw; }
.sheet--dark .k { color: var(--red-lit); }
.t1 { font: 500 5.4cqw / 1.02 var(--display); color: var(--ink); }
.t2 { font: 500 3.3cqw / 1.06 var(--display); color: var(--ink); }
.t3 { font: 600 1.55cqw / 1.2 var(--display); color: var(--ink); }
.t4 { font: 700 1.12cqw / 1.3 var(--display); color: var(--ink); }
.quote { font: 400 3.2cqw / 1.18 var(--display); color: var(--ink); }
.lede { font-size: 1.42cqw; line-height: 1.5; color: var(--body); }
.cap { font: 400 0.76cqw / 1.45 var(--text); color: var(--muted); }
.cap b { font-family: var(--display); font-weight: 700; color: var(--ink); margin-right: 0.5cqw; }
.mute { color: var(--muted); }
.sheet--dark { background: var(--navy); color: var(--on-navy); }
.sheet--dark .t1, .sheet--dark .t2, .sheet--dark .t3, .sheet--dark .t4, .sheet--dark .quote { color: var(--paper); }
.sheet--dark .lede { color: var(--on-navy); }
.sheet--dark .cap, .sheet--dark .mute { color: var(--on-navy-muted); }
.sheet--dark .cap b { color: var(--paper); }
.sheet--stone { background: var(--stone); }
.sheet p + p { margin-top: 0.9cqw; }

/* Pictures */
.img { position: relative; overflow: hidden; background: var(--navy); }
.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed { position: absolute; z-index: 0; }
.pg > * { position: relative; z-index: 1; }

/* Rules list */
.ruled > * { border-top: 0.08cqw solid var(--line); padding-block: 1cqw; }
.ruled > *:last-child { border-bottom: 0.08cqw solid var(--line); }
.sheet--dark .ruled > * { border-color: var(--line-dark); }
.dash li { position: relative; padding-left: 1.6cqw; }
.dash li + li { margin-top: 0.45cqw; }
.dash li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 0.9cqw; height: 0.14cqw; background: var(--red); }
.sheet--dark .dash li::before { background: var(--red-lit); }

/* Logo double line at sheet scale */
.xline { position: relative; height: 1.6cqw; }
.xline span { position: absolute; height: 0.16cqw; background: var(--red); }
.xline span:first-child { top: 0.35cqw; left: 6%; right: 0.45cqw; }
.xline span:first-child::after { content: ""; position: absolute; right: -0.45cqw; top: 50%; width: 0.9cqw; height: 0.9cqw; margin-top: -0.45cqw; border-radius: 50%; background: inherit; }
.xline span:last-child { top: 1.05cqw; left: 0.35cqw; right: 5%; }
.xline span:last-child::before { content: ""; position: absolute; left: -0.35cqw; top: 50%; width: 0.7cqw; height: 0.7cqw; margin-top: -0.35cqw; border-radius: 50%; background: inherit; }
.sheet--dark .xline span { background: var(--red-lit); }

/* ---------- 01 Cover ---------- */
.cover .bleed { inset: 0; }
.cover .bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 14, 24, 0.92) 0%, rgba(6, 14, 24, 0.55) 48%, rgba(6, 14, 24, 0.05) 80%), linear-gradient(0deg, rgba(6, 14, 24, 0.8), rgba(6, 14, 24, 0) 45%); }
.cover .pg { padding: 4.6cqw 5.4cqw 4cqw; }
.cover__logo { grid-column: 1 / span 3; grid-row: 1; }
.cover__logo img { width: 100%; height: auto; }
.cover__edition { grid-column: 9 / -1; grid-row: 1; justify-self: end; text-align: right; font: 700 0.74cqw / 1.6 var(--display); color: var(--on-navy-muted); }
.cover__title { grid-column: 1 / span 8; grid-row: 2; align-self: end; }
.cover__title .k { font-size: 0.9cqw; }
.cover__title h2 { font: 500 5.6cqw / 1 var(--display); color: var(--paper); max-width: 15ch; }
.cover__foot { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: subgrid; align-items: end; margin-top: 3cqw; }
.cover__foot .xline { grid-column: 1 / span 8; }
.cover__coords { grid-column: 9 / -1; justify-self: end; text-align: right; font: 600 0.74cqw / 1.6 var(--display); color: var(--on-navy-muted); }

/* ---------- 02 Contents ---------- */
.contents .arch { grid-column: 1 / span 4; grid-row: 1 / span 2; align-self: stretch; border-radius: 50cqw 50cqw 0 0; margin-top: -0.5cqw; }
.contents__head { grid-column: 6 / -1; }
.toc { grid-column: 6 / -1; margin-top: 2.4cqw; counter-reset: none; }
.toc li { display: grid; grid-template-columns: 5cqw minmax(0, 1fr) auto; align-items: baseline; padding-block: 1.05cqw; border-top: 0.08cqw solid var(--line); }
.toc li:last-child { border-bottom: 0.08cqw solid var(--line); }
.toc .n { font: 300 1.9cqw / 1 var(--display); color: var(--red); }
.toc .name { font: 500 1.45cqw / 1.2 var(--display); color: var(--ink); }
.toc .name small { display: block; font: 400 0.82cqw / 1.4 var(--text); color: var(--muted); margin-top: 0.25cqw; }
.toc .p { font: 600 0.82cqw / 1 var(--display); color: var(--muted); }
.toc a { text-decoration: none; }

/* ---------- 03 Opening statement ---------- */
.opening .bleed { top: 0; right: 0; bottom: 0; width: 42%; border-top-left-radius: 100% 100%; }
.opening__text { grid-column: 1 / span 7; align-self: center; }
.opening__text .quote { font-size: 3.5cqw; }
.opening__text .lede { margin-top: 2.4cqw; max-width: 46cqw; }
.opening__sig { margin-top: 2.6cqw; display: flex; gap: 1.2cqw; align-items: center; }
.opening__sig .xline { width: 10cqw; }
.opening .run, .opening .folio { grid-column: 1 / span 7; }
.opening .cap-pos { position: absolute; right: 2.2cqw; bottom: 2cqw; z-index: 2; color: rgba(255, 255, 255, 0.75); }

/* ---------- 04 At a glance ---------- */
.glance__left { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.glance__left .t2 { margin-bottom: 1.6cqw; }
.glance__facts { margin-top: auto; }
.glance__facts > div { display: grid; grid-template-columns: 9cqw minmax(0, 1fr); column-gap: 1cqw; font-size: 0.95cqw; }
.glance__facts dt { font: 700 0.7cqw / 1.6 var(--display); color: var(--muted); }
.glance__facts dd { color: var(--ink); }
.figs { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; border-top: 0.08cqw solid var(--ink); }
.figs > div { display: flex; flex-direction: column; justify-content: space-between; padding: 1.3cqw 1.2cqw 1.6cqw; border-bottom: 0.08cqw solid #C9D1DA; }
.figs > div:not(:nth-child(4n+1)) { border-left: 0.08cqw solid #C9D1DA; }
.figs dd { font: 300 6.2cqw / 0.9 var(--display); color: var(--ink); }
.figs dd.sm { font-size: 4.6cqw; }
.figs dt { font-size: 0.9cqw; line-height: 1.4; color: var(--muted); margin-top: 1cqw; }
.figs dt b { display: block; font: 700 0.74cqw / 1.4 var(--display); color: var(--red); margin-bottom: 0.3cqw; }

/* ---------- 05 About ---------- */
.about__lead { grid-column: 1 / span 5; }
.about__lead .t2 { margin-bottom: 2cqw; }
.about__qa { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6cqw; row-gap: 0; align-content: start; }
.about__qa > div { border-top: 0.08cqw solid var(--ink); padding: 1.2cqw 0 2cqw; }
.about__qa .t4 { margin-bottom: 0.6cqw; }
.about__qa p, .about__qa li { font-size: 0.98cqw; }
.about__strip { grid-column: 1 / span 5; height: 9cqw; margin-top: 2.6cqw; border-radius: 0 9cqw 9cqw 0; }

/* ---------- 06 Business activities ---------- */
.biz__head { grid-column: 1 / span 7; }
.biz__head .lede { margin-top: 1.4cqw; max-width: 50cqw; }
.biz { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.6cqw; margin-top: 2.8cqw; position: relative; }
.biz::before { /* the chain that links the three service lines */
  content: ""; position: absolute; left: 4.5cqw; right: calc(33.33% - 4.5cqw + 1.07cqw); top: 4.5cqw; height: 0.16cqw; background: var(--red-lit); }
.biz > article { position: relative; }
.biz__node { width: 9cqw; height: 9cqw; border-radius: 50%; border: 0.3cqw solid var(--navy); outline: 0.12cqw solid var(--red-lit); }
.biz__num { position: absolute; right: 0; top: 0.4cqw; font: 200 5.2cqw / 1 var(--display); color: rgba(255, 255, 255, 0.22); }
.biz h3 { margin-top: 1.6cqw; }
.biz p { margin-top: 0.8cqw; font-size: 0.98cqw; color: var(--on-navy); }
.biz ul { margin-top: 1.2cqw; font-size: 0.9cqw; color: var(--on-navy-muted); }
.biz ul li { padding-block: 0.4cqw; border-top: 0.08cqw solid var(--line-dark); }

/* ---------- 07 Products ---------- */
.prod__left { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.prod__left .lede { margin-top: 1.6cqw; }
.prod__left .img { margin-top: auto; height: 15cqw; border-radius: 15cqw 15cqw 0 0; }
.prod__table { grid-column: 6 / -1; width: 100%; border-collapse: collapse; }
.prod__table th, .prod__table td { text-align: left; vertical-align: baseline; padding: 0.95cqw 1.2cqw 0.95cqw 0; border-bottom: 0.08cqw solid var(--line); }
.prod__table thead th { font: 700 0.7cqw / 1.3 var(--display); color: var(--muted); border-bottom: 0.16cqw solid var(--ink); padding-top: 0; }
.prod__table tbody th { font: 500 1.5cqw / 1.2 var(--display); color: var(--ink); width: 34%; }
.prod__table td { font-size: 1cqw; }
.prod__table td:last-child { color: var(--muted); white-space: nowrap; padding-right: 0; }
.prod__note { grid-column: 6 / -1; margin-top: 1.2cqw; }

/* ---------- 08 Capabilities ---------- */
.cap__head { grid-column: 1 / span 4; }
.cap__head .lede { margin-top: 1.4cqw; }
.caps { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.6cqw; counter-reset: cap; align-content: start; }
.caps li { counter-increment: cap; border-top: 0.08cqw solid #C9D1DA; padding: 1cqw 0 1.5cqw; }
.caps li::before { content: counter(cap, decimal-leading-zero); display: block; font: 300 2.6cqw / 1 var(--display); color: var(--red); margin-bottom: 0.6cqw; }
.caps h3 { font: 600 1.2cqw / 1.25 var(--display); color: var(--ink); }
.caps p { margin-top: 0.4cqw; font-size: 0.88cqw; line-height: 1.45; color: var(--muted); }
.caps .grp { display: block; font: 700 0.62cqw / 1 var(--display); color: var(--muted); margin-top: 0.7cqw; }

/* ---------- 09 Operating model diagram ---------- */
.model__head { grid-column: 1 / span 6; }
.model__intro { grid-column: 8 / -1; align-self: end; }
.model__svg { grid-column: 1 / -1; margin-top: 1.6cqw; width: 100%; height: auto; overflow: visible; }

.model__note { grid-column: 1 / span 8; margin-top: 1cqw; }

/* ---------- 10 Transaction ---------- */
.tx__head { grid-column: 1 / span 6; }
.tx__intro { grid-column: 8 / -1; align-self: end; }
.tx__line { grid-column: 1 / -1; margin-top: 3cqw; }
.tx__flows { grid-column: 1 / -1; display: flex; justify-content: space-between; font: 600 0.72cqw / 1 var(--display); color: var(--on-navy-muted); margin-top: 0.6cqw; }
.tx { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 1.6cqw; margin-top: 2.4cqw; counter-reset: st; }
.tx li { counter-increment: st; border-top: 0.08cqw solid var(--line-dark); padding-top: 1.2cqw; display: flex; flex-direction: column; }
.tx li::before { content: counter(st, decimal-leading-zero); font: 200 3.4cqw / 1 var(--display); color: var(--red-lit); margin-bottom: 1cqw; }
.tx h3 { font: 600 1.25cqw / 1.25 var(--display); color: var(--paper); }
.tx p { font-size: 0.9cqw; line-height: 1.45; color: var(--on-navy-muted); margin-top: 0.5cqw; }
.tx .docs { margin-top: 1.2cqw; padding-left: 0.9cqw; border-left: 0.16cqw solid var(--red-lit); font-size: 0.86cqw; color: var(--paper); }
.tx .docs b { display: block; font: 700 0.62cqw / 1.4 var(--display); color: var(--on-navy-muted); }
.tx__fee { grid-column: 1 / span 8; margin-top: 2cqw; }

/* ---------- 11 Finance ---------- */
.fin__role { grid-column: 1 / span 4; grid-row: 1 / span 2; background: var(--red); color: var(--paper); padding: 2.4cqw 2.2cqw; display: flex; flex-direction: column; margin-top: -0.4cqw; }
.fin__role .k { color: var(--paper); opacity: 0.85; }
.fin__role .quote { color: var(--paper); font-size: 2.15cqw; line-height: 1.22; }
.fin__role .cap { margin-top: auto; color: rgba(255, 255, 255, 0.85); }
.fin__main { grid-column: 6 / -1; }
.fin__main .t2 { font-size: 2.6cqw; }
.fin__main .lede { font-size: 1.15cqw; margin-top: 1cqw; }
.pay { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6cqw; margin-top: 1.8cqw; }
.pay > div { border-top: 0.16cqw solid var(--ink); padding: 0.9cqw 0 1.3cqw; }
.pay h3 { font: 600 1.15cqw / 1.25 var(--display); color: var(--ink); }
.pay p { font-size: 0.88cqw; line-height: 1.45; color: var(--muted); margin-top: 0.35cqw; }
.fin__two { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6cqw; margin-top: 0.6cqw; }
.fin__two .t4 { margin-bottom: 0.6cqw; }
.fin__two li { font-size: 0.86cqw; line-height: 1.45; }

/* ---------- 12 Risk ---------- */
.risk__head { grid-column: 1 / span 4; }
.risk__head .lede { margin-top: 1.6cqw; }
.risk__wheel { grid-column: 5 / -1; position: relative; display: grid; grid-template-columns: 1fr 22cqw 1fr; grid-template-rows: 1fr 1fr; column-gap: 1.6cqw; align-items: center; }
.risk__wheel img { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: auto; }

.risk__item { font-size: 0.9cqw; line-height: 1.45; }
.risk__item h3 { font: 600 1.35cqw / 1.2 var(--display); color: var(--ink); margin-bottom: 0.5cqw; display: flex; align-items: center; gap: 0.7cqw; }
.risk__item h3::before { content: ""; width: 0.8cqw; height: 0.8cqw; border-radius: 50%; background: var(--red); flex: none; }
.risk__item.l { text-align: right; }
.risk__item.l h3 { justify-content: flex-end; flex-direction: row-reverse; }
.ri1 { grid-column: 1; grid-row: 1; } .ri2 { grid-column: 3; grid-row: 1; } .ri3 { grid-column: 3; grid-row: 2; } .ri4 { grid-column: 1; grid-row: 2; }

/* ---------- 13 Compliance ---------- */
.comp__head { grid-column: 1 / span 4; }
.comp__head .lede { margin-top: 1.6cqw; }
.comp__head .notice-s { margin-top: 2.4cqw; padding-left: 1cqw; border-left: 0.2cqw solid var(--navy); font-size: 0.9cqw; color: var(--ink); }
.std { grid-column: 6 / -1; counter-reset: std; }
.std li { counter-increment: std; display: grid; grid-template-columns: 4cqw 14cqw minmax(0, 1fr); column-gap: 1.6cqw; padding-block: 1.25cqw; border-top: 0.08cqw solid var(--line); align-items: baseline; }
.std li:first-child { border-top: 0.16cqw solid var(--navy); }
.std li:last-child { border-bottom: 0.08cqw solid var(--line); }
.std li::before { content: counter(std, decimal-leading-zero); font: 300 1.6cqw / 1 var(--display); color: var(--navy); }
.std h3 { font: 600 1.15cqw / 1.3 var(--display); color: var(--ink); }
.std p { font-size: 0.92cqw; line-height: 1.5; }

/* ---------- 14 Principles ---------- */
.principles .bleed { inset: 0; }
.principles .bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 14, 24, 0.95) 0%, rgba(6, 14, 24, 0.86) 55%, rgba(6, 14, 24, 0.55) 100%); }
.prin__head { grid-column: 1 / span 4; }
.prin { grid-column: 5 / -1; align-self: center; }
.prin li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 2.4cqw; align-items: baseline; padding-block: 1.6cqw; border-top: 0.08cqw solid var(--line-dark); }
.prin li:last-child { border-bottom: 0.08cqw solid var(--line-dark); }
.prin h3 { font: 400 2.9cqw / 1.05 var(--display); color: var(--paper); }
.prin p { font-size: 0.95cqw; color: var(--on-navy); }

/* ---------- 15 Leadership ---------- */
.lead__portrait { grid-column: 1 / span 4; grid-row: 1 / span 2; align-self: stretch; background: var(--navy); border-radius: 50cqw 50cqw 0 0; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.4cqw; }
.lead__portrait::before { content: "PB"; position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); font: 200 11cqw / 1 var(--display); color: rgba(255, 255, 255, 0.1); }
.lead__portrait .cap { color: var(--on-navy-muted); position: relative; }
.lead__bio { grid-column: 6 / span 7; }
.lead__bio .role { font: 700 0.8cqw / 1.3 var(--display); color: var(--red); margin-top: 1cqw; }
.lead__bio .lede { margin-top: 1.6cqw; max-width: 46cqw; }
.commit { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.6cqw; margin-top: 3cqw; }
.commit > div { border-top: 0.08cqw solid var(--line); padding: 1cqw 0 1.4cqw; }
.commit h3 { font: 600 1.15cqw / 1.25 var(--display); color: var(--ink); display: flex; gap: 0.7cqw; align-items: center; }
.commit h3::before { content: ""; width: 1.4cqw; height: 0.16cqw; background: var(--red); flex: none; }
.commit p { font-size: 0.88cqw; line-height: 1.45; color: var(--muted); margin-top: 0.35cqw; }

/* ---------- 16 Back cover ---------- */
.back .pg { padding: 5cqw 5.4cqw 4cqw; }
.back__logo { grid-column: 1 / span 3; grid-row: 1; }
.back__logo img { width: 100%; height: auto; }
.back__main { grid-column: 1 / span 7; grid-row: 2; align-self: center; }
.back__main .t1 { font-size: 4.6cqw; }
.back__contact { grid-column: 8 / -1; grid-row: 2; align-self: center; }
.back__contact > div { display: grid; grid-template-columns: 10cqw minmax(0, 1fr); padding-block: 1.1cqw; border-top: 0.08cqw solid var(--line-dark); font-size: 1.05cqw; color: var(--paper); }
.back__contact > div:last-child { border-bottom: 0.08cqw solid var(--line-dark); }
.back__contact dt { font: 700 0.7cqw / 1.7 var(--display); color: var(--red-lit); }
.back__contact a { text-decoration: none; }
.back__foot { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: subgrid; align-items: end; }
.back__foot .xline { grid-column: 1 / span 7; }
.back__foot .cap { grid-column: 8 / -1; }

/* ---------- Screen: narrow windows ---------- */
@media (max-width: 47.9375rem) {
  .profile-desk .wrap { padding-inline: 0.75rem; }
  .sheets { gap: 1rem; }
}

/* ---------- Print: one sheet per A4 landscape page ---------- */
@page { size: 297mm 210mm; margin: 0; }
@media print {
  html, body { background: #fff !important; margin: 0; }
  body > *:not(main), main > *:not(.profile-desk), .sheet-label, .skip { display: none !important; }
  .profile-desk { padding: 0 !important; background: none !important; }
  .profile-desk .wrap { max-width: none; padding: 0; }
  .sheets { display: block; }
  .sheet { width: 297mm; height: 210mm; aspect-ratio: auto; box-shadow: none; break-after: page; page-break-after: always; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet:last-child { break-after: auto; page-break-after: auto; }
  .sheet .img { display: block !important; }
  .sheet.sheet--dark { background: var(--navy) !important; color: var(--on-navy) !important; }
  .sheet h1, .sheet h2, .sheet h3 { color: var(--ink) !important; }
  .sheet--dark h1, .sheet--dark h2, .sheet--dark h3, .sheet--dark .t1, .sheet--dark .t2 { color: var(--paper) !important; }
  .sheet .exchange, .sheet .xline { display: block !important; }
}

/* ---------- Vertical composition per page: content fills the sheet ---------- */
.pg > .body { align-content: stretch; }
.about .body { grid-template-rows: minmax(0, 1fr); }
.about__lead { display: flex; flex-direction: column; }
.about__strip { margin-top: auto; height: 13cqw; }
.about__qa p, .about__qa li { font-size: 1.06cqw; }
.about__qa > div { padding-bottom: 2.6cqw; }
.biz-pg .body { grid-template-rows: auto minmax(0, 1fr); }
.biz-pg .biz { align-self: end; }
.prod-pg .body { grid-template-rows: minmax(0, 1fr) auto; }
.prod-pg .prod__left { grid-row: 1 / span 2; }
.prod-pg .prod__left .img { height: 18cqw; border-radius: 18cqw 18cqw 0 0; }
.prod-pg .prod__table { align-self: start; }
.prod-pg .prod__table th, .prod-pg .prod__table td { padding-block: 1.3cqw; }
.caps-pg .body { grid-template-rows: minmax(0, 1fr); }
.caps-pg .caps { grid-template-rows: repeat(3, minmax(0, 1fr)); align-self: stretch; }
.caps p { font-size: 0.96cqw; }
.model-pg .body { grid-template-rows: auto minmax(0, 1fr) auto; }
.model-pg .model__svg { align-self: center; }
.model-pg .model__note { align-self: end; }
.tx-pg .body { grid-template-rows: auto minmax(0, 1fr) auto auto auto; }
.tx-pg .tx__line { align-self: end; }
.tx p { font-size: 0.98cqw; }
.tx .docs { font-size: 0.94cqw; }
.fin-pg .body { grid-template-rows: minmax(0, 1fr) auto; }
.fin-pg .fin__role { grid-row: 1 / span 2; margin-top: 0; }
.fin-pg .fin__main { grid-row: 1; }
.fin-pg .fin__two { grid-row: 2; }
.pay p, .fin__two li { font-size: 0.96cqw; }
.risk-pg .body { grid-template-rows: minmax(0, 1fr); }
.risk-pg .risk__head, .risk-pg .risk__wheel { align-self: center; }
.risk__item { font-size: 0.98cqw; }
.comp-pg .body { grid-template-rows: minmax(0, 1fr); }
.comp-pg .std { align-self: center; }
.std li { padding-block: 1.9cqw; }
.std p { font-size: 1.02cqw; }
.principles .body { grid-template-rows: minmax(0, 1fr); }
.principles .prin__head { align-self: start; }
.prin li { padding-block: 2.2cqw; }
.prin p { font-size: 1.05cqw; }
.lead-pg .body { grid-template-rows: minmax(0, 1fr) auto; }
.lead-pg .lead__bio { grid-row: 1; align-self: start; }
.lead-pg .commit { grid-row: 2; }
.commit p { font-size: 0.96cqw; }
.tx-pg .body { grid-template-rows: auto minmax(0, 1fr) auto auto minmax(0, 0.6fr) auto; }
.tx-pg .tx__fee { grid-row: 6; }
.fin-pg .fin__main { display: flex; flex-direction: column; }
.fin-pg .pay { margin-top: auto; padding-top: 2cqw; }

/* Leadership page without a portrait */
.lead-pg .body { grid-template-rows: minmax(0, 1fr); }
.lead-pg .lead__bio { grid-column: 1 / span 6; grid-row: 1; align-self: center; border-top: 0.24cqw solid var(--red); padding-top: 2.4cqw; }
.lead-pg .lead__bio .t1 { font-size: 6.4cqw; }
.lead-pg .commit { grid-column: 8 / -1; grid-row: 1; align-self: center; grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.lead-pg .commit > div { padding: 1.3cqw 0 1.5cqw; }


/* ---------- October 2026: condensed headlines, quiet labels ---------- */
.profile-desk .t1, .profile-desk .t2, .profile-desk .quote, .cover__title h2, .figs dd, .prin h3, .toc .n, .toc .name,
.tx li::before, .caps li::before, .std li::before, .back__main .t1, .lead__bio .t1, .folio .num, .prod__table tbody th {
  font-family: var(--cond); font-weight: 700; letter-spacing: 0;
}
.profile-desk .t1 { font-size: 5.6cqw; line-height: .98; }
.profile-desk .t2 { font-size: 3.4cqw; line-height: 1.02; }
.profile-desk .quote { font-size: 3.3cqw; line-height: 1.08; }
.cover__title h2 { font-size: 5.8cqw; line-height: .98; }
.figs dd { font-size: 5.6cqw; line-height: .9; }
.figs dd.sm { font-size: 4.4cqw; }
.prin h3 { font-size: 2.7cqw; line-height: 1.02; }
.toc .name { font-size: 1.6cqw; }
.toc .name small { font-family: var(--sans); font-weight: 400; }
.run, .folio { font-size: 0.82cqw; font-weight: 400; }
.run b { font-weight: 700; }
.folio .num { font-size: 1.5cqw; }
.cover__edition, .cover__coords { font-size: 0.9cqw; font-weight: 400; }
.figs dt b, .glance__facts dt, .back__contact dt, .tx .docs b, .caps .grp, .prod__table thead th, .tx__flows, .cap b { font-weight: 700; font-size: 0.86cqw; }
.figs dt b { color: var(--red); }
.lead__bio .role { font-size: 1.3cqw; font-weight: 400; color: var(--muted); }
.sheet-label { font-weight: 400; font-size: 0.875rem; }
.k { display: none; }
.biz__num { font-family: var(--cond); font-weight: 700; color: rgba(255, 255, 255, 0.16); }
.profile-svg text { font-family: var(--sans); }
.profile-svg .num { font-family: var(--cond); font-weight: 700; }
.profile-svg .title { font-weight: 700; }
.risk__wheel svg { grid-column: 2; grid-row: 1 / span 2; width: 100%; height: auto; }
.model__svg { display: block; }
.profile-desk ol, .profile-desk ul { list-style: none; margin: 0; padding: 0; }
.cover__title h2 { max-width: 12em; }

/* panels where the profile has no photograph */
.img--motif { background: var(--navy); background-image: repeating-radial-gradient(circle at 50% 100%, transparent 0 1.6cqw, rgba(255, 255, 255, 0.07) 1.6cqw 1.72cqw); }
.principles .img--motif { background-image: repeating-radial-gradient(circle at 100% 100%, transparent 0 2.4cqw, rgba(255, 255, 255, 0.05) 2.4cqw 2.52cqw); }
.biz__node--icon { display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; }
.biz__node--icon .icon { width: 4.2cqw; height: 4.2cqw; }
.prod__ic { display: inline-flex; vertical-align: -0.3cqw; margin-right: 0.7cqw; color: var(--red); }
.prod__ic .icon { width: 1.5cqw; height: 1.5cqw; }

/* ---------- Gloock headlines: more line space, slightly smaller than the old condensed face ---------- */
.profile-desk .t1 { font-size: 5.0cqw; line-height: 1.06; letter-spacing: -0.01em; }
.profile-desk .t2 { font-size: 3.1cqw; line-height: 1.1; letter-spacing: -0.005em; }
.profile-desk .quote { font-size: 3.0cqw; line-height: 1.14; }
.cover__title h2 { font-size: 5.1cqw; line-height: 1.06; letter-spacing: -0.01em; }
.figs dd { line-height: 1.0; }
.lead-pg .lead__bio .t1 { font-size: 5.8cqw; }
.back__main .t1 { font-size: 4.2cqw; line-height: 1.08; }
.figs dd.sm { font-size: 3.5cqw; }
