/* Studio Blocks: grids. Hand written (review-page-only category, no design HTML). Scoped to .sb-grids; tokens follow the approved pictures. */
body .sb-grids h1,body .sb-grids h2,body .sb-grids h3,body .sb-grids h4,body .sb-grids a{color:inherit;text-transform:none}
body .sb-grids p,body .sb-grids li{font-size:inherit !important;line-height:inherit !important}
body .sb-grids{
  --st-type-h2:clamp(30px,22px + 1.3vw,42px); --st-type-h3:clamp(20px,17.92px + .35vw,24px);
  --st-type-lead:clamp(17px,15.2px + .4vw,21px); --st-photo-r:18px; --gap:24px;
  font-family:var(--pb-body-font);font-size:16px !important;line-height:var(--st-lh-body) !important;color:var(--pb-text);
}
body .sb-grids *,body .sb-grids *::before,body .sb-grids *::after{box-sizing:border-box}
body .sb-grids img{display:block;max-width:100%}
body .sb-grids h2,body .sb-grids h3,body .sb-grids p{margin:0}
body .sb-grids .g-h2{font-family:var(--pb-heading-font);font-size:var(--st-type-h2) !important;font-weight:600;line-height:var(--st-lh-head) !important;letter-spacing:var(--st-track-head);text-wrap:balance}
body .sb-grids .g-h2 em{font-style:italic;font-weight:400}
body .sb-grids .g-h3{font-family:var(--pb-heading-font);font-size:var(--st-type-h3) !important;font-weight:600;line-height:var(--st-lh-h3) !important;letter-spacing:var(--st-track-h3)}
body .sb-grids .g-lead{font-size:var(--st-type-lead) !important;line-height:var(--st-lh-body) !important;color:var(--pb-muted);max-width:52ch;margin-top:20px;text-wrap:pretty}
body .sb-grids .g-txt{color:var(--pb-muted);text-wrap:pretty;font-size:var(--st-type-body) !important;line-height:1.7 !important}
body .sb-grids .g-eyebrow{display:block;font-size:13px;font-weight:700;letter-spacing:var(--st-track-label);text-transform:var(--small-titles-caps);color:var(--pb-secondary);margin-bottom:16px}
body .sb-grids .g-meta{display:block;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--pb-secondary)}
body .sb-grids .g-ic{width:26px;height:26px;flex:none}
body .sb-grids .g-lk{display:inline-flex;align-items:center;font-weight:700;font-size:var(--st-type-small);text-decoration:none;color:inherit;min-height:44px}
body .sb-grids .g-lk span{text-decoration:none}
body .sb-grids .g-lk{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
body .sb-grids .g-btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 28px;border-radius:0;background:var(--pb-primary);color:var(--pb-on-dark) !important;font-weight:700;font-size:var(--st-type-small);text-decoration:none;white-space:nowrap}
body .sb-grids .g-ph{position:relative;overflow:hidden;border-radius:var(--st-photo-r);background:var(--pb-border)}
body .sb-grids .g-ph img{width:100%;height:100%;object-fit:cover}
body .sb-grids .g-head{margin-bottom:clamp(32px,3.5vw,52px)}
body .sb-grids .g-center{text-align:center}body .sb-grids .g-center .g-lead{margin-left:auto;margin-right:auto}
body .sb-grids a:focus-visible{outline:var(--st-focus-w) solid var(--st-focus-color);outline-offset:var(--st-focus-offset)}
body .sb-grids.sb-dark a:focus-visible{outline-color:var(--pb-on-dark)}

/* 01 ruled cross four */
body .sb-grids .g01-head{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--st-gap-grid);align-items:end}
body .sb-grids .g01-head .g-lead{margin:0;max-width:44ch}
body .sb-grids .g01{display:grid;grid-template-columns:1fr 1fr;border:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g01-c{padding:44px 44px 40px}
body .sb-grids .g01-c:nth-child(odd){border-right:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g01-c:nth-child(n+3){border-top:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g01-c .g-ic{margin-bottom:20px}body .sb-grids .g01-c .g-h3{margin-bottom:10px}

/* 02 landscape image four */
body .sb-grids .g02-head{display:flex;justify-content:space-between;align-items:center;gap:var(--st-gap-grid)}
body .sb-grids .g02-head .g-lead{max-width:48ch}
body .sb-grids .g02{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--st-gap-grid)}
body .sb-grids .g02-c{display:flex;flex-direction:column}
body .sb-grids .g02-c .g-ph{aspect-ratio:var(--pb-ar-landscape);margin-bottom:16px}
body .sb-grids .g02-n{font-family:var(--pb-heading-font);font-size:44px;line-height:1.05;letter-spacing:-.02em;margin-top:6px}
body .sb-grids .g02-c .g-h3{font-size:var(--st-type-lead) !important;margin:4px 0 8px}
body .sb-grids .g02-c .g-lk{margin-top:6px;align-self:flex-start}

/* 03 icon topline three */
body .sb-grids .g03{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--st-gap-grid)}
body .sb-grids .g03-c{border-top:var(--st-line-w) solid var(--pb-border);padding-top:24px}
body .sb-grids .g03-c .g-ic{width:30px;height:30px;margin-bottom:22px}body .sb-grids .g03-c .g-h3{margin-bottom:10px}

/* 04 door panels */
body .sb-grids .g04{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
body .sb-grids .g04-c{position:relative;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:var(--pb-ar-portrait);padding:14px;border-radius:var(--st-photo-r);overflow:hidden}
body .sb-grids .g04-ph{position:absolute;inset:0}body .sb-grids .g04-ph img{width:100%;height:100%;object-fit:cover}
body .sb-grids .g04-b{position:relative;background:var(--pb-surface);padding:18px 20px 4px;border-radius:calc(var(--st-photo-r)*.7)}
body .sb-grids .g04-b .g-h3{font-size:22px !important;margin-bottom:4px}body .sb-grids .g04-b .g-txt{font-size:var(--st-type-small) !important;color:var(--pb-text)}

/* 05 numbered process four */
body .sb-grids .g05{display:grid;grid-template-columns:repeat(4,1fr)}
body .sb-grids .g05-c{border-left:var(--st-line-w) solid var(--pb-border);padding:0 24px 0 24px}
body .sb-grids .g05-n{display:block;font-family:var(--pb-heading-font);font-size:clamp(44px,1.5vw + 40px,64px);line-height:1;color:var(--pb-secondary);margin-bottom:28px;letter-spacing:-.02em}
body .sb-grids .g05-c .g-h3{margin-bottom:12px}

/* 06 round photo columns */
body .sb-grids .g06{display:grid;grid-template-columns:5fr 7fr;column-gap:56px;align-items:start}
body .sb-grids .g06-l .g-lead{max-width:44ch}body .sb-grids .g06-l .g-btn{margin-top:32px}
body .sb-grids .g06-r{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--st-gap-grid)}
body .sb-grids .g06-ph{width:144px;height:144px;border-radius:50%;overflow:hidden;margin-bottom:20px;background:var(--pb-border)}
body .sb-grids .g06-ph img{width:100%;height:100%;object-fit:cover}
body .sb-grids .g06-c .g-h3{font-size:var(--st-type-lead) !important;margin-bottom:8px}body .sb-grids .g06-c .g-txt{font-size:16px !important}

/* 07 icon sentence four */
body .sb-grids .g07{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--st-gap-grid)}
body .sb-grids .g07-c .g-ic{width:24px;height:24px;margin-bottom:20px}
body .sb-grids .g07-c h3{font-family:var(--pb-body-font);font-size:var(--st-type-body) !important;font-weight:700;line-height:1.4 !important;margin:0 0 12px;max-width:17em}
body .sb-grids .g07-c .g-txt{max-width:22em}

/* 08 photo text tiles */
body .sb-grids .g08{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:stretch}
body .sb-grids .g08-c{display:grid;grid-template-columns:280px minmax(0,250px);gap:var(--st-gap-grid);align-items:stretch}
body .sb-grids .g08-ph{border-radius:var(--st-photo-r);overflow:hidden;min-height:100%;background:var(--pb-border);position:relative}
body .sb-grids .g08-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body .sb-grids .g08-b{align-self:center;display:flex;flex-direction:column;gap:10px;padding:8px 0}
body .sb-grids .g08-b .g-h3{font-size:24px !important}body .sb-grids .g08-b .g-lk{align-self:flex-start}

/* 09 staggered photo three */
body .sb-grids .g09{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--st-gap-grid);align-items:start}
body .sb-grids .g09-c:nth-child(2){margin-top:56px}
body .sb-grids .g09-ph{aspect-ratio:var(--pb-ar-portrait);margin-bottom:16px}
body .sb-grids .g09-c .g-h3{font-size:22px !important;margin-bottom:6px}

/* 10 service directory */
body .sb-grids .g10-head{display:grid;grid-template-columns:1fr 1fr;column-gap:var(--st-gap-grid);align-items:end}
body .sb-grids .g10-head .g-lead{margin:0;max-width:44ch}
body .sb-grids .g10{display:grid;grid-template-columns:1fr 1fr;border-top:var(--st-line-w) solid var(--pb-border);border-bottom:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g10-c{display:flex;flex-direction:column;gap:12px;padding:32px 40px 24px 0}
body .sb-grids .g10-c:nth-child(even){border-left:var(--st-line-w) solid var(--pb-border);padding-left:40px;padding-right:0}
body .sb-grids .g10-c:nth-child(n+3){border-top:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g10-t{font-family:var(--pb-heading-font);font-size:clamp(26px,1vw + 15px,32px) !important;font-weight:var(--pb-ui-weight);line-height:1.12 !important;letter-spacing:-.01em}
body .sb-grids .g10-c .g-lk{margin-top:auto;align-self:flex-start}

/* 11 inset caption tiles */
body .sb-grids .g11{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body .sb-grids .g11-c{position:relative;display:flex;align-items:flex-end;aspect-ratio:var(--pb-ar-landscape);padding:16px;border-radius:var(--st-photo-r);overflow:hidden}
body .sb-grids .g11-ph{position:absolute;inset:0}body .sb-grids .g11-ph img{width:100%;height:100%;object-fit:cover}
body .sb-grids .g11-b{position:relative;width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--pb-bg);padding:6px 20px;min-height:74px;border-radius:calc(var(--st-photo-r)*.7)}
body .sb-grids .g11-b .g-h3{font-size:19px !important}

/* 12 outline icon tiles */
body .sb-grids .g12{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
body .sb-grids .g12-c{display:flex;flex-direction:column;gap:12px;border:var(--st-line-w) solid var(--pb-border);padding:32px 28px 16px}
body .sb-grids .g12-c .g-ic{margin-bottom:12px}body .sb-grids .g12-c .g-h3{font-size:22px !important}
body .sb-grids .g12-c .g-lk{margin-top:auto;align-self:flex-start}

/* 13 statement plus icon grid */
body .sb-grids .g13{display:grid;grid-template-columns:5fr 7fr;gap:16px;align-items:stretch}
body .sb-grids .g13-s{background:var(--pb-primary);color:var(--pb-on-dark);padding:44px;display:flex;flex-direction:column;justify-content:space-between;gap:48px;min-height:459px}
body .sb-grids .g13-s .g-h2{font-size:clamp(34px,2vw + 15px,46px) !important;}
body .sb-grids .g13-s .g-lead{color:inherit;margin:0 0 28px;font-size:var(--st-type-body) !important}
body .sb-grids .g13-s .g-btn{background:var(--pb-bg);color:var(--pb-text) !important}
body .sb-grids .g13-g{display:grid;grid-template-columns:1fr 1fr;border:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g13-c{padding:40px 28px 36px}
body .sb-grids .g13-c:nth-child(odd){border-right:var(--st-line-w) solid var(--pb-border)}body .sb-grids .g13-c:nth-child(n+3){border-top:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g13-c .g-ic{width:24px;height:24px;margin-bottom:16px}body .sb-grids .g13-c .g-h3{font-size:22px !important;margin-bottom:8px}

/* 14 split icon rows */
body .sb-grids .g14{display:grid;grid-template-columns:1fr 1fr;column-gap:72px;grid-auto-flow:row}
body .sb-grids .g14-c{display:grid;grid-template-columns:56px 1fr;gap:0;padding:28px 0;border-top:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g14-c:nth-last-child(-n+2){border-bottom:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g14-c .g-ic{width:22px;height:22px;margin-top:3px}body .sb-grids .g14-c .g-h3{font-size:19px !important;margin-bottom:6px}

/* 15 overlay photo three */
body .sb-grids .g15{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
body .sb-grids .g15-c{position:relative;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:3/2.7;border-radius:var(--st-photo-r);overflow:hidden;color:var(--color-white,var(--pb-on-dark))}
body .sb-grids .g15-ph{position:absolute;inset:0}body .sb-grids .g15-ph img{width:100%;height:100%;object-fit:cover}
body .sb-grids .g15-ph::after{content:"";position:absolute;inset:0;background:var(--st-scrim)}
body .sb-grids .g15-b{position:relative;padding:24px 24px 14px}
body .sb-grids .g15-b .g-h3{font-size:22px !important;margin-bottom:6px}body .sb-grids .g15-b .g-txt{color:var(--color-white,var(--pb-on-dark));font-size:16px !important}

/* 16 title tab cards */
body .sb-grids .g16{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
body .sb-grids .g16-c .g-h3{font-size:22px !important;margin-bottom:12px}
body .sb-grids .g16-ph{aspect-ratio:var(--pb-ar-landscape);margin-bottom:24px}body .sb-grids .g16-c .g-txt{font-size:var(--st-type-small) !important}

/* 17 compact ruled four */
body .sb-grids .g17-head{display:flex;justify-content:space-between;align-items:flex-end;gap:var(--st-gap-grid);margin-bottom:clamp(24px,3vw,40px)}
body .sb-grids .g17-head .g-h2{max-width:10.5em}
body .sb-grids .g17{display:grid;grid-template-columns:repeat(4,1fr);border-top:var(--st-line-w) solid var(--pb-border);border-bottom:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g17-c{padding:28px 24px}
body .sb-grids .g17-c:first-child{padding-left:0}
body .sb-grids .g17-c+.g17-c{border-left:var(--st-line-w) solid var(--pb-border)}
body .sb-grids .g17-c .g-ic{width:20px;height:20px;margin-bottom:16px}body .sb-grids .g17-c .g-h3{font-size:19px !important;margin-bottom:4px}
body .sb-grids .g17-c .g-txt{font-size:var(--st-type-small) !important}

/* 18 two-up editorial */
body .sb-grids .g18{display:grid;grid-template-columns:1fr 1fr;gap:64px}
body .sb-grids .g18-ph{aspect-ratio:var(--pb-ar-portrait);margin-bottom:24px}
body .sb-grids .g18-c .g-meta{margin-bottom:10px}
body .sb-grids .g18-t{font-family:var(--pb-heading-font);font-size:clamp(26px,1vw + 15px,32px) !important;font-weight:var(--pb-ui-weight);line-height:1.12 !important;letter-spacing:-.01em;max-width:9em;margin-bottom:14px}
body .sb-grids .g18-c .g-txt{max-width:30em;font-size:var(--st-type-body) !important;margin-bottom:8px}

/* 19 dark icon band */
body .sb-grids .g19-head{display:flex;justify-content:space-between;align-items:center;gap:var(--st-gap-grid)}
body .sb-grids .g19-head .g-lead{color:inherit;margin-top:14px}
body .sb-grids .g19-head .g-btn{background:var(--pb-bg);color:var(--pb-text) !important}
body .sb-grids .g19{display:grid;grid-template-columns:repeat(3,1fr)}
body .sb-grids .g19-c{padding:0 24px}
body .sb-grids .g19-c:first-child{padding-left:0}
body .sb-grids .g19-c+.g19-c{border-left:var(--st-line-w) solid var(--pb-rule-on-dark)}
body .sb-grids .g19-c .g-ic{margin-bottom:22px}body .sb-grids .g19-c .g-h3{font-size:22px !important;margin-bottom:8px}
body .sb-grids .g19-c .g-txt{color:var(--pb-muted-on-dark)}

/* 20 rotated rail grid */
body .sb-grids .g20{display:grid;grid-template-columns:70px 1fr;column-gap:0}
body .sb-grids .g20-rail{writing-mode:vertical-rl;transform:rotate(180deg);font-family:var(--pb-heading-font);font-weight:var(--pb-ui-weight);line-height:1 !important;font-size:36px !important;align-self:start;margin:0}
body .sb-grids .g20-g{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--st-gap-grid)}
body .sb-grids .g20-c{border-top:var(--st-line-w) solid var(--pb-border);padding-top:24px}
body .sb-grids .g20-c .g-ic{margin-bottom:16px}body .sb-grids .g20-c .g-h3{font-size:22px !important;margin-bottom:8px}

/* tablet */
@media(max-width:1024px){
 body .sb-grids .g02,body .sb-grids .g07,body .sb-grids .g12,body .sb-grids .g16,body .sb-grids .g05,body .sb-grids .g17{grid-template-columns:1fr 1fr}
 body .sb-grids .g06,body .sb-grids .g13{grid-template-columns:1fr}
 body .sb-grids .g08{grid-template-columns:1fr}
 body .sb-grids .g17-c:nth-child(3){border-left:0;padding-left:0}
}
/* phone: single columns, hairline rows where the desktop has rules */
@media(max-width:767px){
 body .sb-grids .g01-head,body .sb-grids .g10-head{grid-template-columns:1fr;row-gap:16px}
 body .sb-grids .g01-head .g-lead,body .sb-grids .g10-head .g-lead{margin-top:0}
 body .sb-grids .g-head{margin-bottom:28px}
 body .sb-grids .g02-head,body .sb-grids .g19-head{display:grid;grid-template-columns:1fr 96px;column-gap:14px;align-items:start}
 body .sb-grids .g02-head>div,body .sb-grids .g19-head>div{display:contents}
 body .sb-grids .g02-head .g-h2,body .sb-grids .g19-head .g-h2{grid-column:1/-1}
 body .sb-grids .g02-head .g-h2,body .sb-grids .g19-head .g-h2{grid-row:1}
 body .sb-grids .g02-head .g-lead,body .sb-grids .g19-head .g-lead{margin-top:16px;grid-column:1;grid-row:2}
 body .sb-grids .g02-head .g-btn,body .sb-grids .g19-head .g-btn{grid-column:2;grid-row:2;margin-top:16px;height:auto;min-height:40px;padding:8px 12px;font-size:13px;white-space:normal;text-align:center;line-height:1.3}
 body .sb-grids .g13-c{padding:24px 0}
 body .sb-grids .g17-head .g-lk{flex:none;width:80px}
 body .sb-grids .g17-head .g-h2{max-width:8em}
 body .sb-grids .g02,body .sb-grids .g04,body .sb-grids .g07,body .sb-grids .g09,body .sb-grids .g12,body .sb-grids .g15,body .sb-grids .g16,body .sb-grids .g11,body .sb-grids .g18,body .sb-grids .g05,body .sb-grids .g17,body .sb-grids .g03,body .sb-grids .g19,body .sb-grids .g20-g,body .sb-grids .g14,body .sb-grids .g10,body .sb-grids .g01,body .sb-grids .g06-r,body .sb-grids .g13-g{grid-template-columns:1fr}
 body .sb-grids .g20{grid-template-columns:1fr}
 body .sb-grids .g20-rail{writing-mode:horizontal-tb;transform:none;font-size:var(--st-type-h2) !important;margin-bottom:24px}
 body .sb-grids .g01,body .sb-grids .g13-g,body .sb-grids .g10{border:0}
 body .sb-grids .g01-c,body .sb-grids .g01-c:nth-child(n),body .sb-grids .g13-c,body .sb-grids .g13-c:nth-child(n),body .sb-grids .g10-c,body .sb-grids .g10-c:nth-child(even){border:0;border-bottom:var(--st-line-w) solid var(--pb-border);padding:24px 0}
 body .sb-grids .g10-c:first-child{border-top:0}
 body .sb-grids .g03-c,body .sb-grids .g20-c{border-top:0;border-bottom:var(--st-line-w) solid var(--pb-border);padding:20px 0}
 body .sb-grids .g03-c:first-child,body .sb-grids .g20-c:first-child{border-top:var(--st-line-w) solid var(--pb-border)}
 body .sb-grids .g05-c{border-left:0;border-top:var(--st-line-w) solid var(--pb-border);padding:20px 0}
 body .sb-grids .g05-n{font-size:34px;margin-bottom:12px}
 body .sb-grids .g07-c{padding:0}
 body .sb-grids .g14-c{border-top:0;border-bottom:var(--st-line-w) solid var(--pb-border);padding:20px 0}
 body .sb-grids .g14-c:first-child{border-top:var(--st-line-w) solid var(--pb-border)}
 body .sb-grids .g17-c,body .sb-grids .g17-c+.g17-c{border-left:0;padding:20px 0;border-bottom:var(--st-line-w) solid var(--pb-border)}
 body .sb-grids .g17-c:last-child{border-bottom:0}
 body .sb-grids .g17{border-bottom:0}
 body .sb-grids .g19-c,body .sb-grids .g19-c:first-child,body .sb-grids .g19-c+.g19-c{border-left:0;padding:20px 0;border-top:var(--st-line-w) solid var(--pb-rule-on-dark)}
 body .sb-grids .g19-c:last-child{border-bottom:0}
 body .sb-grids .g08-c{grid-template-columns:1fr}body .sb-grids .g08-ph{aspect-ratio:var(--pb-ar-landscape);min-height:0}body .sb-grids .g08-ph img{position:static}
 body .sb-grids .g09-c:nth-child(2){margin-top:0}
 body .sb-grids .g06-ph{width:144px;height:144px}
 body .sb-grids .g06{row-gap:32px}
 body .sb-grids .g13-s{padding:32px 24px;min-height:0;gap:40px}
 body .sb-grids .g04-c,body .sb-grids .g15-c{aspect-ratio:auto;min-height:340px}
 body .sb-grids .g11-c{aspect-ratio:var(--pb-ar-landscape)}
 body .sb-grids .g18{gap:40px}
 body .sb-grids .g17-head{align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){body .sb-grids *{transition:none !important}}

/* Band colors from the approved pictures (Branding has no slot for them). */

/* 05 heading wraps in two lines like the picture */
body .sb-grids.sb-look-05 .g-h2,body .sb-look-05 .g-h2{max-width:15em}
body .sb-look-05 .g-h2{text-wrap:wrap}
body .sb-grids .g13-s .g-h2{max-width:7.2em}
