@font-face {
  font-family:Inter;
  src:url("/assets/pbr-textures-2027/font-c940764593d0fe5d.woff2") format("woff2");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}
@page {
  size:letter;
  margin:.64in .68in .65in;
  @bottom-left { content:"BRANDON PT DAVIS  /  STUDIO"; font: 7.5pt 'Avenir Next', sans-serif; letter-spacing:.115em; color:#525252; }
  @bottom-right { content:counter(page); font: 8pt 'Avenir Next', sans-serif; color:#525252; }
}
@scope (.pbr-guide-page) {
:scope {
  color-scheme: light;
  --paper:#fafafa; --ink:#171717; --muted:#525252;
  --dark:#171717; --light:#fafafa; --rule:#dedede; --linen:#f2f2f2;
  --accent:#e9511c; --accent-text:#a93713; --accent-on-dark:#ff784b;
  --serif:Georgia, 'Times New Roman', serif;
  --sans:'Avenir Next', Avenir, system-ui, sans-serif;
}
* { box-sizing:border-box; }

:scope { margin:0; color:var(--ink); background:var(--paper); font: 17px/1.65 var(--sans); }
a { color:var(--accent-text); text-underline-offset:.18em; }
a:hover { text-decoration-thickness:2px; }
a:focus-visible,select:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.skip { position:absolute; z-index:3; left:1rem; top:1rem; transform:translateY(-150%); background:white; padding:.5rem; }
.skip:focus { transform:none; }
.frame { width:min(1320px,calc(100% - 7rem)); margin-inline:auto; }
.mast { background:var(--dark); color:var(--light); }
.masthead { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.6rem 1rem; padding:1.4rem 0; border-bottom:1px solid var(--rule); }
.masthead a,.footer a { color:inherit; text-decoration:none; font-size:.83rem; font-weight:650; }
.masthead a:hover,.footer a:hover { text-decoration:underline; }
.masthead span { color:#d4d4d4; margin-left:.3em; font-weight:500; }
.hero { display:grid; grid-template-columns:.92fr 1.08fr; align-items:center; gap:clamp(2rem,5vw,5rem); padding:clamp(3rem,6vw,6.5rem) 0; }
.hero figure { margin:0; }
.hero figure img { border-radius:.3rem; }
.hero figcaption { color:#d4d4d4; }
.eyebrow { margin:0 0 .75rem; font-size:.75rem; font-weight:750; text-transform:uppercase; letter-spacing:.125em; color:var(--accent-text); }
.mast .eyebrow { color:var(--accent-on-dark); }
h1,h2 { font-family:var(--serif); font-weight:500; line-height:1.05; letter-spacing:-.045em; }
h1 { margin:0 0 1.2rem; font-size:clamp(2.65rem,5.5vw,6rem); }
h2 { font-size:clamp(2.1rem,4vw,4.05rem); margin:.1rem 0 1.05rem; max-width:19ch; }
h3 { font-size:1.075rem; line-height:1.25; margin:1.6rem 0 .55rem; }
p { margin:0 0 1.05rem; }
.intro { color:#e7e7e7; max-width:36ch; font-size:clamp(1rem,1.5vw,1.25rem); }
.actions { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.5rem; }
.button { padding:.64rem .96rem; border:1px solid var(--light); color:var(--light); border-radius:.24rem; text-decoration:none; font-weight:710; font-size:.86rem; }
.button.filled { background:var(--light); color:var(--dark); }
.button:hover { text-decoration:underline; }
.layout { display:grid; grid-template-columns:13rem minmax(0,1fr); gap:clamp(2.1rem,5vw,6.5rem); align-items:start; padding:4rem 0 6rem; }
.contents { display:grid; position:sticky; top:2rem; align-self:start; gap:.58rem; border-left:2px solid var(--rule); padding-left:1.1rem; font-size:.84rem; line-height:1.5; }
.contents strong { margin:0 0 .65rem; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; }
.contents a { color:var(--muted); text-decoration:none; }
.contents a:hover { color:var(--accent-text); text-decoration:underline; }
.guide-main { width:min(100%, 950px); }
.chapter + .chapter { border-top:1px solid var(--rule); margin-top:4.4rem; padding-top:3.9rem; }
.lead { font-size:1.13em; color:var(--muted); max-width:69ch; }
.body-copy { max-width:73ch; }
.path { font-weight:650; color:var(--accent-text); }
figure { margin:1.4rem 0; }
img { display:block; width:100%; height:auto; }
figcaption,.caption,.source { font-size:.82rem; line-height:1.45; color:var(--muted); }
figcaption { padding-top:.55rem; }
.source { margin-top:1.1rem; }
.editor-figure { max-width:670px; }
.editor-figure img { border-radius:.45rem; background:#242424; }
.steps { margin:1.35rem 0; padding-left:1.35em; }
.steps li { padding-left:.25em; margin-bottom:.6rem; }
.note { margin:1.35rem 0; padding:1.02rem 1.15rem; background:var(--linen); border-left:3px solid var(--accent); }
.lookup { width:100%; border-collapse:collapse; table-layout:fixed; margin:1.25rem 0; text-align:left; font-size:.9rem; line-height:1.45; overflow-wrap:anywhere; }
th { background:var(--dark); color:white; font-weight:650; }
td,th { padding:.72rem .8rem; vertical-align:top; }
th:first-child { width:23%; }
th:nth-child(2) { width:28%; }
td { border-bottom:1px solid var(--rule); }
td:first-child { font-weight:700; }
tbody tr:nth-child(even) { background:var(--linen); }
.mapping-table th:nth-child(2) { width:41%; }
.map-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; margin:1.2rem 0; }
.map-grid figure { margin:0; }
.map-grid img { border-radius:.3rem; aspect-ratio:1; }
.roughness { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.7rem; padding:1.25rem .75rem .9rem; margin-top:1.4rem; background:var(--linen); text-align:center; border-radius:.3rem; }
.rough { display:grid; justify-items:center; line-height:1.35; gap:.2rem; font-size:.85rem; }
.rough small { color:var(--muted); }
.rough span { display:block; width:clamp(56px,12vw,112px); aspect-ratio:1; margin:0 0 .55rem; border-radius:50%; box-shadow:3px 12px 14px -11px #17171773; background:radial-gradient(ellipse at 33% 33%, var(--highlight), transparent 65%), radial-gradient(circle at 39% 32%,#969696,#595959 63%,#373737 83%,#565656); }
.glossy { --highlight:#ffffff 0%, #f8f8f8 4%, #e1e1e1 9%, #bdbdbd 13%, transparent 18%; }
.satin { --highlight:#efefef 0%, #d4d4d4 14%, #aeaeae 22%, transparent 33%; }
.matte { --highlight:#d4d4d4 0%, #bbbbbb 19%, #959595 32%, transparent 59%; }
.caption { padding-top:.48rem; }
.definitions { margin:1.35rem 0; }
.definitions dt { color:var(--accent-text); font-weight:750; margin-top:1rem; }
.definitions dd { margin:.13rem 0 .5rem; }
.effect-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem; margin:1.35rem 0; }
.effect-grid > div { padding:.9rem 1rem; border-top:2px solid var(--accent); background:var(--linen); }
.effect-grid h3 { margin:0 0 .44rem; }
.effect-grid p { margin:0; font-size:.92rem; }
.profile { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1.15rem 0; }
.profile figure { margin:0; }
.surface-diagram { height:80px; display:flex; gap:2px; align-items:end; background:#ededed; padding:0 1rem 17px; border-bottom:1px solid #b3b3b3; }
.surface-diagram i { display:block; flex:1; background:linear-gradient(110deg,#707070,#aaaaaa 38%,#525252 88%); height:28px; }
.disp i:nth-child(odd) { height:47px; }
.scale-figure { padding:1rem 1.2rem; border:1px solid var(--rule); background:var(--linen); }
.scale-toolbar { display:flex; flex-wrap:wrap; gap:.55rem 1rem; align-items:center; margin:0 0 .75rem; font-size:.9rem; }
.scale-toolbar label { font-weight:700; }
.scale-toolbar select { border:1px solid #b3b3b3; background:white; font:inherit; border-radius:4px; padding:.2rem .45rem; }
.scale-swatch { aspect-ratio:8/1.45; background:url("/assets/pbr-textures-2027/image-f6caae824e48b7b8.webp") left top/25% auto repeat; border:1px solid #4d4d4d; }
.ruler { display:flex; justify-content:space-between; border-top:1px solid #747474; margin:.3rem 0 0; font-size:.72rem; font-weight:750; }
.ruler span:before { content:''; display:block; height:.3rem; width:1px; background:#747474; }
.ruler span:last-child:before { margin-left:auto; }
.references { margin:.45rem 0 0; padding-left:1.15rem; }
.footer { background:var(--dark); color:var(--light); }
.footer .frame { display:flex; justify-content:space-between; flex-wrap:wrap; gap:.65rem; padding:1.4rem 0; }
@media (max-width:1020px) {
  .frame { width:calc(100% - 4rem); }
  .layout { grid-template-columns:10.5rem minmax(0,1fr); gap:2rem; }
}
@media (max-width:760px) {
  .frame { width:calc(100% - 2.25rem); }
  .hero,.layout { grid-template-columns:1fr; }
  .hero { gap:2rem; padding:2.75rem 0 2.25rem; }
  .layout { gap:2.3rem; padding-top:2.5rem; }
  .contents { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contents strong { grid-column:1/-1; margin:0 0 .25rem; }
  .chapter + .chapter { margin-top:3.15rem; padding-top:2.5rem; }
  .lookup td,.lookup th { padding:.54rem .42rem; }
}
@media (max-width:470px) {
  :scope { font-size:16px; }
  .map-grid { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:1rem; }
  .effect-grid { grid-template-columns:1fr; }
  .lookup { font-size:.79rem; }
  .rough { font-size:.73rem; }
  .rough small { font-size:.68rem; }
}

@media print {
  * { print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  :scope { background:#fff; font-size:10.5pt; line-height:1.36; }
  .frame,.layout,main { width:100%; max-width:none; }
  .skip,.header-download,.footer,.masthead,.scale-toolbar,.actions .outline { display:none; }
  .mast { border-radius:7pt; }
  .hero { display:block; padding:26pt 29pt 20pt; }
  h1 { font-size:52pt; margin:6pt 0 10pt; }
  h2 { font-size:29pt; max-width:none; margin:4pt 0 9pt; }
  h3 { font-size:12.5pt; margin:11pt 0 5pt; break-after:avoid; }
  p { margin:0 0 9pt; orphans:3; widows:3; }
  .eyebrow { font-size:8pt; margin:0 0 6pt; }
  .intro { max-width:40ch; font-size:12.5pt; }
  .actions { margin:11pt 0 13pt; }
  .button { font-size:8.5pt; padding:5pt 8pt; }
  .hero img { width:100%; max-height:276pt; object-fit:cover; }
  figcaption,.caption,.source { font-size:8pt; }
  .layout { display:block; padding:0; }
  .contents { position:static; margin:16pt 0 0; gap:4pt 12pt; padding:7pt 0 6pt 10pt; grid-template-columns:repeat(2,minmax(0,1fr)); font-size:9pt; }
  .contents strong { margin:0; grid-column:1/-1; font-size:8pt; }
  .chapter,.chapter + .chapter { break-before:page; margin:0; padding:0; border:0; }
  .lead { font-size:11pt; }
  .editor-figure { float:right; width:50%; margin:3pt 0 10pt 13pt; }
  .steps { margin:10pt 0; }
  .steps li { margin-bottom:8pt; }
  .note { clear:both; margin:11pt 0; padding:9pt 11pt; font-size:10pt; }
  .source { margin-top:9pt; }
  .lookup { font-size:9.1pt; margin:8pt 0; line-height:1.3; }
  .lookup th,.lookup td { padding:5pt 6pt; }
  .lookup tr { break-inside:avoid; }
  .map-grid { margin:9pt 0; gap:9pt; grid-template-columns:repeat(4,minmax(0,1fr)); }
  .map-grid img { width:100%; aspect-ratio:1.7; object-fit:cover; }
  .definitions { margin:7pt 0; }
  .definitions dt { margin-top:8pt; break-after:avoid; }
  .definitions dd { margin-bottom:4pt; }
  .roughness { padding:9pt 8pt; margin-top:9pt; gap:5pt; }
  .rough { font-size:9pt; }
  .rough span { width:62pt; margin:0 0 4pt; }
  .profile { margin:9pt 0; gap:9pt; }
  .surface-diagram { height:45pt; padding-bottom:7pt; }
  .surface-diagram i { height:13pt; }
  .disp i:nth-child(odd) { height:25pt; }
  .effect-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8pt; margin:8pt 0; }
  .effect-grid > div { padding:8pt 8pt; break-inside:avoid; }
  .effect-grid h3 { margin:0 0 4pt; }
  .effect-grid p { font-size:9.8pt; }
  .scale-figure { margin:10pt 0; padding:8pt; }
  .scale-swatch { aspect-ratio:8/1.05; background-size:25% auto !important; }
  .references { margin-top:4pt; }
}
.expand-image { display:block; border:0; padding:0; background:none; width:100%; cursor:zoom-in; border-radius:.45rem; }
button:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.screenshot-dialog { border:0; border-radius:.5rem; padding:.65rem; background:var(--dark); color:white; width:min(96vw,1040px); max-height:94vh; }
.screenshot-dialog::backdrop { background:#151515c7; }
.screenshot-dialog form { text-align:right; margin-bottom:.45rem; }
.screenshot-dialog button { font:inherit; padding:.25rem .7rem; cursor:pointer; }
.screenshot-dialog img { max-height:82vh; object-fit:contain; }
.print-only { display:none; }
@media print {
  .actions,.screenshot-dialog,.web-only { display:none; }
  .print-only { display:inline; }
  .editor-figure figcaption::after { content:''; }
}
.projection-grid img { aspect-ratio:320/163; }
.projection-grid figcaption { line-height:1.25; }
@media print {
  .projection-grid img { aspect-ratio:320/163; object-fit:contain; }
  .projection-grid { gap:5pt; }
  .projection-grid figcaption { font-size:7.6pt; }
  .mapping-table th,.mapping-table td { padding-block:4pt; }
}
@media print {
  .projection-grid img { max-height:43pt; }
  .mapping-table th,.mapping-table td { padding-block:3.4pt; }
  #mapping h3 { margin-top:8pt; }
}


:scope {
  --sans:Inter,'Helvetica Neue',system-ui,sans-serif;
}
:scope { font-size:16px; line-height:1.65; }
h1,h2 { font-family:var(--sans); letter-spacing:-.053em; }
h1 { font-weight:400; font-size:clamp(2.7rem,5.1vw,4.5rem); line-height:1.04; }
h2 { font-weight:500; font-size:clamp(1.95rem,3vw,2.53rem); max-width:29ch; letter-spacing:-.042em; }
h3 { font-weight:630; letter-spacing:-.022em; }
.eyebrow { font-size:.68rem; font-weight:650; letter-spacing:.15em; }
.mast { background:var(--paper); }
.mast > .frame { width:100%; }
.masthead { color:var(--ink); border-bottom:0; padding:.85rem clamp(1rem,3vw,3rem); min-height:74px; }
.masthead a.brand { font-size:clamp(.95rem,1.8vw,1.45rem); letter-spacing:-.058em; font-weight:900; text-transform:uppercase; }
.site-links { display:flex; flex-wrap:wrap; gap:.5rem; }
.site-links a { border:1px solid var(--rule); border-radius:100px; text-transform:uppercase; font-size:.67rem; font-weight:550; padding:.54rem .82rem; line-height:1.2; }
.hero {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:2.1rem; padding:clamp(3.5rem,6.7vw,6.5rem) max(1.2rem,4vw) clamp(2.5rem,4.5vw,4.3rem);
  text-align:center; color:var(--light);
  background:var(--dark);
}
.hero h1 { margin-bottom:.75rem; }
.hero .eyebrow { color:#e1e1e1; }
.hero .intro { color:#e7e7e7; max-width:55ch; margin-inline:auto; font-size:clamp(.95rem,1.35vw,1.1rem); }
.byline { color:#e7e7e7; font-size:.86rem; margin:0 0 1rem; }
.actions { justify-content:center; }
.button { border-radius:100px; font-weight:550; padding:.6rem .95rem; }
.hero figure { width:min(720px,100%); }
.hero figure img { border-radius:1rem; }
.hero figcaption { color:#dddddd; }
.layout { padding-top:3.4rem; }
.contents { border-color:var(--rule); font-size:.81rem; }
.note { border:1px solid var(--rule); border-inline-start:3px solid var(--accent); border-radius:.8rem; }
.effect-grid > div { background:var(--linen); border:1px solid var(--rule); border-radius:.7rem; }
tbody tr:nth-child(even),.scale-figure { background:var(--linen); }
.editor-figure img { border-radius:1rem; }
.lab { border:1px solid var(--rule); border-radius:1.2rem; overflow:hidden; background:var(--linen); }
.lab-options { display:flex; flex-wrap:wrap; gap:.45rem; padding:.8rem; border-bottom:1px solid var(--rule); }
.lab button { border:1px solid #c8c8c8; border-radius:100px; background:var(--paper); color:var(--ink); padding:.45rem .8rem; font:550 .8rem var(--sans); cursor:pointer; }
.lab button[aria-pressed="true"] { background:var(--dark); color:var(--light); border-color:var(--dark); }
.lab-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); align-items:center; padding:1rem; gap:1.05rem; }
.lab-grid canvas,.compare canvas { width:100%; height:auto; display:block; border-radius:.7rem; }
.lab-controls { min-width:0; }
.lab-title { margin:0 0 .75rem; }
.lab-slider { margin:0 0 .55rem; }
.lab-slider label { display:flex; flex-wrap:wrap; gap:.3rem .6rem; align-items:baseline; justify-content:space-between; font-size:.79rem; line-height:1.3; }
.lab-slider output { color:var(--accent-text); font-variant-numeric:tabular-nums; }
.lab-slider input { width:100%; margin:.25rem 0 0; accent-color:var(--accent); cursor:pointer; min-height:25px; }
.lab-actions { display:flex; flex-wrap:wrap; gap:.45rem; margin:.63rem 0; }
.lab-explain { font-size:.81rem; line-height:1.45; margin:.65rem 0 0; }
.compare,.capture-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin:1.05rem 0; }
.compare figure,.capture-grid figure { margin:0; }
.capture-grid img { width:auto; max-width:100%; max-height:355px; }
.worked + .worked { margin-top:2rem; }
.worked h3 { font-size:1.22rem; }
.worked p { margin-bottom:.75rem; }
@media(max-width:830px) {
  .lab-grid { grid-template-columns:1fr; }
}
@media(max-width:510px) {
  .masthead { min-height:62px; padding:.72rem .85rem; }
  .site-links { gap:.25rem; }
  .site-links a { font-size:.58rem; padding:.43rem .5rem; }
  .site-links a:first-child { display:none; }
  .hero { gap:1.5rem; }
  .hero h1 { font-size:2.65rem; }
  .lab-grid { padding:.72rem; }
  .compare,.capture-grid { gap:.55rem; }
}
@media print {
  :scope { background:#fff; font-size:10pt; line-height:1.36; }
  .mast { background:none; }
  .masthead,.lab-chapter,.web-only { display:none !important; }
  .hero { display:block; padding:24pt 26pt 18pt; border-radius:8pt; }
  h1 { font-size:44pt; line-height:1.04; }
  h2 { font-size:27pt; }
  .hero figure { width:100%; }
  .hero figure img { max-height:270pt; border-radius:5pt; }
  .hero .intro { margin-inline:auto; font-size:11pt; }
  .byline { font-size:9pt; }
  .compare,.capture-grid { gap:8pt; margin:7pt 0; break-inside:avoid; }
  .compare canvas { max-height:121pt; object-fit:cover; border-radius:5pt; }
  .capture-grid img { max-height:178pt; }
  .worked h3 { font-size:12pt; margin:9pt 0 3pt; }
  .worked p { margin-bottom:5pt; }
  .worked + .worked { margin-top:12pt; }
  .worked { break-inside:avoid; }
  .editor-figure img { border-radius:5pt; }
  .actions { display:none; }
}
@media (max-width:510px) {
  .lab button { min-height:39px; }
}
@media print {
  .layout { padding:0; }
  .contents { margin-top:11pt; }
  .hero { padding:20pt 23pt 16pt; }
  .hero .byline { margin-bottom:6pt; }
  .hero figure img { max-height:237pt; }
  #mapping .lookup { font-size:8.7pt; line-height:1.26; }
  #mapping .source { margin-top:5pt; }
  .compare .print-study { height:auto; max-height:121pt; object-fit:cover; border-radius:5pt; }
}

/* Vectorworks resource mast and interactive relief comparison. */
.mast { border-bottom:1px solid var(--rule); }
.masthead { border-bottom:1px solid var(--rule); }
.hero {
  display:block; max-width:1240px; margin:auto;
  padding:clamp(1.7rem,4vw,3.4rem) max(1.25rem,4vw) clamp(1.7rem,3.5vw,2.75rem);
  text-align:left; color:var(--ink); background:none;
}
.breadcrumb { font-size:.82rem; margin:0 0 .9rem; color:var(--muted); }
.breadcrumb a { color:inherit; text-underline-offset:.18em; }
.hero h1 { max-width:none; font-size:clamp(2.35rem,5.2vw,4.45rem); }
.hero .intro { color:var(--ink); max-width:62ch; margin:0 0 .65rem; }
.hero .byline { color:var(--muted); }
.hero .actions { justify-content:flex-start; }
.hero .outline { color:var(--ink); border-color:var(--rule); }
.layout { padding-top:clamp(1.65rem,4vw,3rem); }
.print-only { display:none; }
.relief-panels, .relief-controls {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.85rem; padding:.85rem;
}
.relief-panels figure { margin:0; }
.relief-panels canvas { display:block; width:100%; height:auto; border-radius:.65rem; }
.relief-panels figcaption { font-size:.82rem; }
.relief-controls { padding-bottom:0; }
.relief-guide { margin:.2rem .85rem .95rem; font-size:.85rem; }
.study { display:grid; gap:1.2rem; margin:1.3rem 0; }
.study.single { grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); align-items:start; }
.study .compare { margin:0; }
.study figure, .cover-art figure { margin:0; }
.study img { display:block; width:100%; height:auto; }
.study figure button { all:unset; display:block; width:100%; cursor:zoom-in; }
.study figure button:focus-visible { outline:2px solid var(--accent-text); outline-offset:3px; }
.study p { margin-top:0; }
@media (max-width:540px) {
  .study.single, .relief-controls { grid-template-columns:1fr; }
  .relief-panels { gap:.48rem; padding:.6rem; }
  .relief-controls { gap:.3rem; }
}
@media print {
  .mast { border:0; }
  .hero { padding:6pt 0 14pt; }
  .hero h1 { max-width:16ch; font-size:43pt; }
  .hero .intro { margin:0 0 7pt; }
  .hero .byline { margin-bottom:14pt; }
  .cover-art { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8pt; }
  .cover-art img { display:block; width:100%; max-height:97pt; object-fit:cover; }
  .cover-art figcaption { font-size:8pt; margin-top:2pt; }
  .study { gap:13pt; margin:13pt 0; }
  .study.single { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .study .expand-image { cursor:default; }
}
.legacy-anchor { display:block; height:0; }
.study figcaption { line-height:1.4; }
.study .gallery-note { margin:.35rem 0 0; color:var(--muted); }

.hero .button.filled { background:var(--dark); color:var(--paper); border-color:var(--dark); }
.study.single { grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); }
.study.single > figure { width:min(100%,300px); }
.study.paired .compare { max-width:650px; }
.study.paired > div:nth-child(2) { max-width:77ch; }
@media (max-width:540px) {
  .study.single { grid-template-columns:1fr; }
}
@media print {
  .cover-art img { width:auto; max-width:100%; object-fit:contain; }
  #metal-study, #fabric-study, #wall-study {
    break-before:auto; padding-top:10pt; border-top:1px solid var(--rule); margin-top:14pt;
  }
  .study .compare { max-width:320pt; }
  .study .compare img { width:auto; max-width:100%; height:156pt; object-fit:contain; }
  .study.single { grid-template-columns:136pt minmax(0,1fr); }
  .study.single img { max-height:136pt; object-fit:contain; }
  .study figcaption { padding-top:3pt; }
}
.lab-study-link { display:inline-block; margin-top:.55rem; font-size:.81rem; font-weight:550; }
@media print {
  .hero .cover-art img { height:92pt; max-height:92pt; }
  .contents { break-inside:avoid; }
}
@media print {
  .hero .cover-art figcaption { color:var(--muted); }
}

/* Vectorworks Studio resource pages */
@media screen {
  .frame { width:min(1344px,calc(100% - clamp(2rem,7vw,6rem))); }
  .mast { border:0; }
  .masthead { min-height:76px; padding-inline:clamp(1rem,3.35vw,3rem); }
  .site-links a { font-size:.73rem; padding:.65rem .92rem; }
  .hero { width:min(1344px,calc(100% - clamp(2rem,7vw,6rem))); max-width:none; padding:clamp(2rem,5vw,4.2rem) 0 clamp(1.5rem,3.4vw,2.85rem); }
  .hero-copy { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr); align-items:end; gap:clamp(1.5rem,5vw,4.2rem); }
  .breadcrumb { margin-bottom:1rem; }
  h1,h2 { font-family:Georgia,'Times New Roman',serif; font-weight:600; letter-spacing:-.05em; }
  .hero h1 { font-size:clamp(3.05rem,6.2vw,6rem); line-height:.98; margin:0; }
  .hero h1 span { display:block; }
  .hero-details { padding-bottom:.18rem; }
  .hero .intro { color:var(--muted); font-size:clamp(1rem,1.4vw,1.2rem); }
  .hero .byline { font-size:.8rem; margin:0; }
  .hero .actions { margin-top:1.1rem; }
  .hero .button { border-radius:5px; }
  .hero .button.outline { border-color:#c8c8c8; }
  .lab-entry { border-top:1px solid var(--rule); }
  .lab-heading-row { display:flex; align-items:baseline; justify-content:space-between; gap:1rem; padding:.92rem 0 .7rem; }
  .lab-heading-row h2 { font-size:clamp(1.65rem,3vw,2.5rem); margin:0; max-width:none; }
  .lab-heading-row a { font-size:.83rem; text-underline-offset:.25rem; white-space:nowrap; }
  #material-lab .lab { background:var(--linen); border-radius:8px; }
  #material-lab .lab-options { gap:0; padding:0 .65rem; background:#f5f5f5; }
  #material-lab .lab-options button { color:var(--muted); border:0; border-radius:0; background:none; padding:.8rem clamp(.55rem,2vw,1.3rem) .65rem; border-bottom:2px solid transparent; }
  #material-lab .lab-options button[aria-pressed="true"] { color:var(--ink); border-bottom-color:var(--accent); }
  #material-lab .lab-options button:hover { background:#e9e9e9; }
  #material-lab .lab-grid { display:grid; margin:0; padding:0; grid-template-columns:minmax(0,2.2fr) minmax(270px,1fr); align-items:stretch; gap:0; }
  .lab-viewport { position:relative; display:grid; isolation:isolate; aspect-ratio:1.82; min-height:320px; background:#242424; }
  #material-lab .lab-viewport canvas { position:absolute; inset:0; width:100%; height:100%; border-radius:0; touch-action:none; cursor:grab; }
  #material-lab canvas.is-dragging { cursor:grabbing; }
  #material-lab canvas:focus-visible { outline:2px solid var(--accent-on-dark); outline-offset:-5px; }
  .orbit-hint,.lab-status { position:absolute; bottom:0; color:var(--light); background:#181818d9; padding:.45rem .6rem; margin:.75rem; font:500 .73rem var(--sans); pointer-events:none; }
  .lab-status:empty { display:none; }
  .lab-fallback { display:none; width:100%; height:100%; min-height:0; object-fit:contain; position:absolute; inset:0; }
  .lab-viewport[data-unavailable] canvas,.lab-viewport[data-unavailable] .orbit-hint { display:none !important; }
  .lab-viewport[data-unavailable] .lab-fallback { display:block; }
  #material-lab .lab-controls { padding:clamp(1.05rem,3vw,2.25rem); }
  #material-lab .lab-title { font:600 clamp(1.45rem,2.7vw,2.1rem)/1.08 Georgia,'Times New Roman',serif; letter-spacing:-.035em; margin:0 0 1.14rem; }
  #material-lab .lab-slider { margin-bottom:.86rem; }
  #material-lab .lab-slider label { font-size:.85rem; }
  #material-lab .lab-slider input,.relief input { accent-color:var(--accent); }
  #material-lab .lab-explain { font-size:.86rem; line-height:1.55; margin-top:1rem; color:var(--muted); }
  #material-lab .lab-actions button { border-radius:4px; }
  #material-lab .lab-actions button[aria-pressed="true"] { background:var(--dark); border-color:var(--dark); color:var(--light); }
  .lab-caption { margin:0; padding:.6rem 0 0; }
  .layout { padding-top:clamp(2.8rem,5vw,4.6rem); }
  .guide-copy { width:min(100%,940px); }
  .chapter + .chapter { margin-top:clamp(3rem,6vw,5rem); }
}
@media screen and (max-width:780px) {
  .hero-copy { grid-template-columns:1fr; gap:1rem; }
  .hero h1 { font-size:clamp(2.9rem,8vw,4.45rem); }
  #material-lab .lab-grid { grid-template-columns:1fr; }
  .lab-viewport { min-height:266px; aspect-ratio:1.55; }
  .guide-copy { width:100%; }
}
@media screen and (max-width:420px) {
  #material-lab .lab-options { padding-inline:.3rem; }
  #material-lab .lab-options button { padding-inline:.48rem; }
  #material-lab .lab-title { margin-bottom:.9rem; }
}
@media print {
  .hero h1 span { display:block; }
  .guide-main,.guide-copy { width:100%; }
}
@media screen {
  .hero h1 span { font-size:.7em; margin-top:.12em; }
  .lab-relief-link { margin-top:.5rem; font-size:.81rem; font-weight:550; }
  .lab-relief-link:not([hidden]) { display:block; }
}

/* Article exercises and print index. */
@media screen {
  .guide-main { margin-inline:auto; padding:clamp(1.35rem,3.2vw,2.75rem) 0 clamp(3rem,6vw,5.5rem); }
  .lab-heading-row { padding:0; }
  .lab-intro { margin:.65rem 0 1.12rem; }
  .first-steps { max-width:60ch; }
  #workflow .editor-figure { width:min(43%,430px); float:right; margin:.2rem 0 1rem 1.45rem; }
  .lab-exercise { margin:1rem 0 .3rem; border-top:1px solid var(--rule); padding-top:.85rem; font-size:.84rem; }
  .lab-exercise p { margin:0 0 .75rem; line-height:1.55; }
  .lab-exercise strong { display:block; }
  .lab-exercise summary { color:var(--accent-text); cursor:pointer; font-weight:600; }
  #material-lab .lab-observation p { margin:.45rem 0 .7rem; }
  .map-distinction { max-width:74ch; }
}
@media screen and (max-width:730px) {
  #workflow .editor-figure { width:100%; float:none; margin:1.05rem 0; }
  .first-steps { max-width:none; }
  .lab-heading-row a { white-space:normal; text-align:right; }
}
@media print {
  .print-index { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5pt 15pt; padding:8pt 0 5pt 10pt; margin-top:10pt; border-left:2pt solid var(--rule); font-size:9pt; break-inside:avoid; }
  .print-index strong { grid-column:1/-1; text-transform:uppercase; font-size:8pt; }
  .print-index a { color:var(--muted); text-decoration:none; }
  .first-steps li { margin-bottom:6pt; }
  .exercise-check { break-inside:avoid; }
}
@media screen {
}
@media screen and (max-width:730px) {
}

@media screen {
  #workflow .editor-figure { width:min(43%,450px); }
  .first-steps { max-width:68ch; }
}
@media screen and (max-width:730px) {
  #workflow .editor-figure { width:100%; }
}

/* Editorial introduction and continuous article layout. */
@media screen {
  .feature-hero { padding:clamp(1rem,3.5vw,3rem) 0 0; }
  .feature-hero .hero-copy {
    grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);
    align-items:stretch; gap:0;
    background:var(--dark); color:var(--light); border-radius:9px; overflow:hidden;
  }
  .feature-text { display:flex; flex-direction:column; justify-content:center; padding:clamp(2rem,5vw,5rem) clamp(1.75rem,4.8vw,4.5rem); }
  .feature-text .breadcrumb { color:#d6d6d6; }
  .feature-hero h1 { font-size:clamp(3.1rem,6.4vw,6rem); letter-spacing:-.054em; }
  .feature-hero h1 span { font-size:.64em; letter-spacing:-.043em; }
  .feature-hero .intro { color:#eeeeee; max-width:32ch; margin:clamp(.9rem,2.5vw,1.65rem) 0; font-size:clamp(1rem,1.65vw,1.4rem); line-height:1.4; }
  .feature-meta { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem 1.3rem; }
  .feature-meta .byline { color:#d6d6d6; }
  .feature-meta a { color:var(--accent-on-dark); font-size:.84rem; }
  .feature-hero .feature-visual { width:100%; position:relative; margin:0; min-height:0; }
  .feature-visual img { height:100%; width:100%; object-fit:cover; object-position:center; }
  .feature-hero .feature-visual img { border-radius:0; }
  .feature-hero .feature-visual figcaption { position:absolute; bottom:.9rem; right:1rem; padding:.35rem .55rem; color:var(--light); background:#171717db; border-radius:3px; font-size:.72rem; }
  .guide-main { display:grid; grid-template-columns: minmax(8rem,10.5rem) minmax(0,1fr); gap:0 clamp(1.8rem,4.8vw,4.5rem); align-items:start; padding-top:clamp(2.2rem,5vw,4.5rem); }
  .article-index { display:grid; grid-template-columns:1fr; gap:.53rem; position:sticky; top:1.35rem; padding:0 0 0 1rem; border-left:1px solid var(--rule); }
  .article-index strong { font-size:.82rem; margin-bottom:.35rem; }
  .article-index a { font-size:.84rem; color:var(--muted); text-decoration:none; }
  .article-index a:hover { color:var(--accent-text); text-decoration:underline; }
  .article-body { min-width:0; max-width:1060px; }
  .article-body .chapter { scroll-margin-top:.65rem; }
  .article-body h2 { font-size:clamp(2.16rem,4.25vw,3.7rem); max-width:24ch; }
  .article-body p:not(.caption,.source,.eyebrow) { max-width:75ch; }
  .article-body .opening p:not(.source) { max-width:73ch; font-size:clamp(1.02rem,1.35vw,1.19rem); }
  .article-body .opening h2 { max-width:22ch; }
  .opening th:first-child { width:21%; }
  .opening th:nth-child(2) { width:33%; }
  .opening .lookup { margin-block:1.7rem; }
  .article-body #workflow .editor-figure { margin-bottom:1.2rem; }
  .article-body .lab-intro { max-width:66ch; }
}

.map-tester { border:1px solid var(--rule); margin-top:1.2rem; padding:1rem; }
.map-tester summary { cursor:pointer; font-weight:650; }
.map-tester summary:focus-visible,.map-tester canvas:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.map-tester > p { font-size:.9rem; margin:.7rem 0 1rem; }
.map-tester-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(190px,1fr); gap:1rem; align-items:start; }
.map-tester-preview { min-width:0; background:#242424; color:white; }
.map-tester-labels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); text-align:center; font:600 .75rem/1.25 var(--sans); }
.map-tester-labels span { padding:.65rem .3rem; }
.map-tester-labels span+span { border-left:1px solid #5b5b5b; }
.map-tester canvas { display:block; width:100%; aspect-ratio:1.65; min-height:185px; touch-action:none; cursor:grab; }
.map-tester-controls { min-width:0; }
.map-tester-controls label { display:block; font-size:.84rem; font-weight:650; margin-bottom:.25rem; }
.map-tester-controls select,.map-tester-controls input { display:block; max-width:100%; font:inherit; font-size:.84rem; }
.map-tester-controls select { width:100%; padding:.38rem; }
.map-tester-controls p { font-size:.8rem; line-height:1.4; margin:.6rem 0; overflow-wrap:anywhere; }
.map-tester-actions { display:flex; flex-wrap:wrap; gap:.3rem; margin-top:.7rem; }
.map-tester-actions button,.map-tester input::file-selector-button { font:600 .75rem var(--sans); padding:.4rem .5rem; border:1px solid var(--rule); border-radius:4px; background:var(--paper); color:var(--ink); cursor:pointer; }
.map-tester-actions button:disabled { opacity:.55; cursor:default; }
.map-tester-actions [aria-pressed="true"] { background:#242424; color:#fff; }
@media (max-width:680px) { .map-tester-grid { grid-template-columns:1fr; } }
@media screen and (max-width:760px) {
  .feature-hero .hero-copy { grid-template-columns:1fr; }
  .feature-text { padding:1.8rem clamp(1rem,5vw,1.75rem) 1.65rem; }
  .feature-hero h1 { font-size:clamp(2.75rem,9.5vw,4.4rem); }
  .feature-hero .feature-visual img { aspect-ratio:1.52; height:auto; }
  .feature-hero .feature-visual figcaption { bottom:.4rem; right:.5rem; font-size:.64rem; }
  .guide-main { grid-template-columns:1fr; gap:1.9rem; }
  .article-index { position:static; display:flex; flex-wrap:wrap; gap:.42rem .9rem; padding:.7rem 0; border-inline:0; border-block:1px solid var(--rule); }
  .article-index strong { flex:0 0 100%; margin:0; }
  .article-index a { text-decoration:underline; font-size:.76rem; }
  .opening .lookup th,.opening .lookup td { padding:.5rem .36rem; font-size:.73rem; }
}
@media print {
  .feature-meta a { display:none; }
  .feature-text .intro { margin-bottom:8pt; }
  .feature-text .byline { margin-bottom:14pt; }
  .opening .lookup { margin:12pt 0; }
  .print-index { margin-bottom:4pt; }
}
@media screen {
  .lab-viewport { width:100%; min-width:0; overflow:hidden; }
}
@media print {
  #maps .lookup th,#maps .lookup td { padding-block:4pt; }
  #maps .source { margin-top:5pt; }
}

.term-trigger,.lab .term-trigger {
  display:inline; max-inline-size:100%; min-height:0; border:0; padding:0; background:none;
  font:inherit; color:inherit; text-align:start;
}

.reader-routes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1.4rem 0; }
.reader-routes > div { border-top:2px solid var(--accent); padding-top:.6rem; }
.reader-routes dt { font-weight:700; }
.reader-routes dd { margin:.28rem 0 0; font-size:.9rem; line-height:1.45; color:var(--muted); }
@media screen and (max-width:630px) {
  .reader-routes { grid-template-columns:1fr; gap:.65rem; }
  .reader-routes > div { border-top:0; border-inline-start:2px solid var(--accent); padding:.12rem 0 .12rem .75rem; }
}
@media print {
  .feature-hero .hero-copy { display:grid; grid-template-columns:minmax(0,1.22fr) minmax(0,1fr); gap:0; background:var(--dark); color:var(--light); border-radius:6pt; overflow:hidden; min-height:240pt; }
  .feature-hero .feature-text { align-self:center; padding:20pt; }
  .feature-hero .breadcrumb,.feature-hero .byline { color:#dedede; }
  .feature-hero .breadcrumb a { color:var(--accent-on-dark); }
  .feature-hero h1 { margin:8pt 0; color:inherit; font-size:37pt; line-height:1.03; }
  .feature-hero h1 span { font-size:.67em; }
  .feature-hero .intro { color:#f4f4f4; margin-bottom:9pt; }
  .feature-hero .byline { margin:0; }
  .feature-hero .feature-visual { position:relative; margin:0; width:100%; }
  .feature-hero .feature-visual img { display:block; width:100%; height:100%; position:absolute; inset:0; max-height:none; object-fit:cover; border-radius:0; }
  .feature-hero .feature-visual figcaption { position:absolute; bottom:7pt; right:7pt; padding:3pt 5pt; background:var(--dark); color:var(--light); font-size:7pt; }
  .reader-routes { margin:10pt 0; gap:10pt; break-inside:avoid; }
  .reader-routes > div { border-top-width:1.5pt; padding-top:4pt; }
  .reader-routes dd { font-size:9pt; }
}
@media screen {
  .term-trigger {
    cursor:pointer;
  }
  .term-trigger:hover,.term-trigger[aria-expanded="true"] { color:var(--accent-text); }
  .term-trigger:focus-visible { outline:2px solid var(--accent); outline-offset:2px; border-radius:2px; }
  .article-body .opening .term-hint { margin:-.1rem 0 1.25rem; color:var(--muted); font-size:.8rem; }
  .term-popover {
    position:fixed; inset:auto; margin:0; width:min(15.5rem,calc(100% - 24px)); max-height:calc(100% - 24px);
    overflow:auto; padding:.55rem .7rem .62rem; border:1px solid #ffffffba; border-radius:13px;
    background:#fbfaf9; color:var(--ink);
    box-shadow:inset 0 1px 1px #fff, inset 0 -1px 1px #ffffff63, 0 5px 17px #17171722, 0 0 0 1px #17171712;
    font:400 .8rem/1.4 var(--sans);
  }
  @supports ((backdrop-filter:blur(8px)) or (-webkit-backdrop-filter:blur(8px))) {
    .term-popover {
      background:linear-gradient(150deg,#ffffffab,#ffffff87 52%,#ffffff99);
      -webkit-backdrop-filter:blur(8px) saturate(1.6);
      backdrop-filter:blur(8px) saturate(1.6);
    }
  }
  @media (prefers-reduced-transparency:reduce) {
    .term-popover { background:#fbfaf9; -webkit-backdrop-filter:none; backdrop-filter:none; }
  }
  .term-popover:focus { outline:none; }
  #term-definition-title { display:block; margin-bottom:.17rem; overflow-wrap:anywhere; }
  #term-definition-copy { display:block; }
}
@media print {
  .term-trigger { appearance:none; text-decoration:none; }
  .term-popover { display:none !important; }
}

.property-comparison { margin-block:1.35rem; }
.property-samples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.35rem,1.3vw,1rem); }
.property-samples > div { min-width:0; }
.property-samples span { display:block; padding-top:.38rem; font-size:.8rem; }
@media (max-width:500px) {
  .property-samples span { font-size:.7rem; line-height:1.4; }
}
@media print {
  .property-comparison { margin:8pt 0 10pt; break-inside:avoid; }
  .property-samples { gap:7pt; }
  .property-samples span { padding-top:3pt; font-size:8pt; }
  #surface .definitions dd { margin-bottom:3pt; }
  #maps .lead { font-size:10.5pt; }
  #maps .lookup th,#maps .lookup td { padding-block:3.5pt; }
}

.controlled-study { margin:1.45rem 0 0; }
.controlled-study + .controlled-study { padding-top:1rem; border-top:1px solid var(--rule); }
.controlled-study h3 { margin:0 0 .18rem; font-size:1.15rem; }
.controlled-study .setting-path { color:var(--accent-text); font-size:.82rem; font-weight:650; margin:0 0 .52rem; }
.controlled-study .property-comparison { margin:0 0 .4rem; }
.controlled-study .property-samples { grid-template-columns:repeat(2,minmax(0,1fr)); }
.controlled-study .property-samples.has-map { grid-template-columns:repeat(2,minmax(0,1fr)) minmax(46px,.45fr); }
.controlled-study .comparison-input { align-self:start; padding:0; }
.controlled-study .comparison-input img { aspect-ratio:1; object-fit:cover; }
.property-samples img,.setting-control img,.study img,.capture-grid img,.screenshot-compare img { border-radius:8px; }
.comparison-origin { display:block; font-size:.92em; }
@media print {
  .comparison-chapter .lead { margin-bottom:4pt; font-size:10pt; }
  .comparison-chapter .caption { margin-bottom:6pt; padding:0; }
  .controlled-study { margin:8pt 0 0; break-inside:avoid; }
  .controlled-study + .controlled-study { padding-top:5pt; }
  .controlled-study h3 { font-size:11pt; margin:0 0 2pt; }
  .controlled-study .setting-path { font-size:8pt; margin:0 0 4pt; }
  .controlled-study .property-comparison { margin:0; }
  .controlled-study figcaption { padding-top:3pt; }
  .comparison-origin { display:inline; white-space:normal; }
}

.setting-layout {
  display:grid; grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);
  align-items:start; gap:clamp(.65rem,1.6vw,1.3rem);
}
.setting-layout .property-comparison,.setting-control { margin:0; min-width:0; }
.setting-control figcaption { padding-top:.4rem; }
.roughness-layout { margin-block:1.35rem; }
@media screen and (max-width:680px) {
  .setting-layout { grid-template-columns:1fr; }
  .setting-control { max-width:340px; }
}
@media print {
  .property-samples img,.setting-control img,.study img,.capture-grid img,.screenshot-compare img,.hero .cover-art img { border-radius:4pt; }
  .setting-layout { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:9pt; }
  .setting-control img { width:auto; max-width:100%; max-height:103pt; }
  .setting-control figcaption { padding-top:3pt; font-size:7.8pt; }
  .roughness-layout { margin:8pt 0 10pt; break-inside:avoid; }
  .roughness-layout .setting-control img { max-height:77pt; }
  .property-samples { --render-size:98pt; }
  .controlled-study .property-samples { grid-template-columns:repeat(2,minmax(0,var(--render-size))); }
  .controlled-study .property-samples.has-map { grid-template-columns:repeat(2,minmax(0,var(--render-size))) 42pt; }
  .property-samples > div img { width:auto; height:var(--render-size); max-width:100%; object-fit:contain; object-position:left center; }
  #setting-scale .property-samples,#setting-rotation .property-samples { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #setting-rotation .property-samples > div img { width:100%; height:auto; }
  #compare-relief .setting-control img { max-height:80pt; }
}
@media print {
  #maps .map-grid img { max-height:58pt; }
  #maps .map-grid { margin:6pt 0; }
  #maps .lookup th,#maps .lookup td { padding-block:3pt; }
  .roughness-layout .property-samples { --render-size:63pt; }
  .roughness-layout .setting-control img { max-height:67pt; }
  #compare-relief .controlled-study { margin-top:6pt; }
  #compare-relief .controlled-study + .controlled-study { padding-top:4pt; }
  #compare-relief .property-samples { --render-size:69pt; }
  #compare-relief .setting-control img { max-height:70pt; }
}

}
@media screen {
  html .pbr-guide-page {
    --paper: var(--color-paper);
    --ink: var(--color-ink);
    --muted: var(--color-ink-soft);
    --rule: var(--color-rule);
    --linen: color-mix(in srgb, var(--color-paper) 93%, var(--color-ink));
    --accent-text: #a73714;
    --sans: var(--font-body, system-ui);
    color-scheme: inherit;
    padding-top: var(--site-nav-height, 80px);
  }

  html[data-appearance="dark"] .pbr-guide-page {
    --accent: #ff8456;
    --accent-text: #ff956e;
    color-scheme: dark;
  }

  .pbr-guide-page .feature-hero { padding-top: clamp(12px, 2vw, 30px); }
  .pbr-guide-page :is(.mast, #material-lab .lab-options) { background: var(--paper); }
  .pbr-guide-page #material-lab .lab-options button:hover { background: var(--linen); }
  .pbr-guide-page .article-index { top: calc(var(--site-nav-height, 80px) + 20px); }
  .pbr-guide-page :is([id].chapter, #lab-metal) { scroll-margin-top: calc(var(--site-nav-height, 80px) + 22px); }
  .pbr-guide-page .pbr-article-end {
    border-top: 1px solid var(--rule);
    padding-block: 1.15rem 2rem;
  }
  html[data-appearance="dark"] .pbr-guide-page .term-popover {
    background: #252525;
    border-color: #ffffff33;
    box-shadow: inset 0 1px 1px #ffffff3d, 0 6px 20px #0008;
  }
  @supports (backdrop-filter:blur(8px)) {
    @media (prefers-reduced-transparency:no-preference) {
      html[data-appearance="dark"] .pbr-guide-page .term-popover {
        background: linear-gradient(150deg, #353535db, #141414bc);
      }
    }
  }
}

@media print {
  body:has(.pbr-guide-page) :is(.site-nav, #site-footer, .pbr-article-end) { display: none; }
}
