/* Sample PB, "Built by the Model". Round 03, variant B (image construction), built on sample P. Brand rules: light. */
:root {
  --red: #A32638;
  --ink: #363D45;
  --lg: #E4E5E6;
  --white: #FFFFFF;
  --head: 96px;
  --heroH: clamp(560px, calc(100vh - var(--head)), 1000px);
  --cell: 48px;              /* P's layout unit, now fixed (P set it from its number grid) */
  --rule: #E4E5E6;           /* every hairline: solid Light Gray */
  --ease: cubic-bezier(.23, 1, .32, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 "IBM Plex Sans", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-synthesis: none;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible, .panel :focus-visible { outline-color: var(--white); }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 3px;
  font: 600 16px/1.2 "IBM Plex Sans", Arial, sans-serif; letter-spacing: .01em;
  text-decoration: none; text-align: center;
}
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--lg); }
.btn-line { border: 1px solid var(--white); color: var(--white); background: transparent; }
.btn-line:hover { background: var(--white); color: var(--ink); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  height: var(--head);
  background: var(--white);
  border-bottom: 1px solid var(--lg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
}
.brand { display: flex; align-items: center; gap: 22px; text-decoration: none; color: var(--ink); }
.brand img { width: 150px; height: 40px; }
.brand .lab {
  font: 600 25px/1 "Saira Condensed", "Arial Narrow", sans-serif; letter-spacing: .01em;
  padding-left: 22px; border-left: 1px solid var(--lg); height: 40px; display: flex; align-items: center;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a {
  color: var(--ink); text-decoration: none; font: 500 15px/1.2 "IBM Plex Sans", Arial, sans-serif;
  padding: 10px 0; display: block;
}
.nav a:hover { color: var(--red); text-decoration: underline; }
.nav .nav-mail { display: none; }
.menu-btn { display: none; }
html.tuck-on .site-head { transition: transform .32s var(--ease); }
html.tucked .site-head { transform: translateY(-100%); }

/* ---------- Hero: the photo, built from its segments ---------- */
.stage { position: relative; }
.hero {
  position: relative; z-index: 1;
  height: var(--heroH);
  overflow: hidden;
  background: var(--ink);
}
.built { position: absolute; inset: 0; margin: 0; }
.frame { position: absolute; inset: 0; overflow: hidden; background: var(--ink); touch-action: pan-y; }
.photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.cv-ground, .cv-build, .cv-net { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
html.prebuild .cv-ground { background: var(--ink); }
html:not(.js) .cv-ground, html:not(.js) .cv-build, html:not(.js) .cv-net, html:not(.js) .chip { display: none; }
/* Keyboard: the photo is a slider over its segments (pb.js sets tabindex and role) */
.frame:focus { outline: none; }
.frame:focus-visible::after {
  content: ""; position: absolute; inset: 8px; z-index: 3; pointer-events: none;
  border: 3px solid var(--white); outline: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--ink);
}

/* Readout of the segment under the pointer (or under a tap) */
.chip {
  position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none;
  background: var(--white); color: var(--ink);
  font: 400 13px/1.4 "IBM Plex Sans", Arial, sans-serif; font-variant-numeric: tabular-nums;
  padding: 8px 12px 9px 9px; display: none; align-items: flex-start; gap: 10px; white-space: nowrap;
}
.chip.show { display: flex; }
.chip .sw { width: 28px; height: 28px; flex: none; margin-top: 2px; border: 1px solid var(--lg); }
.chip .ct-txt > span { display: block; }
.chip .r1 { font-weight: 500; }
.chip b { font-weight: 600; }

/* Caption: what the models did, with the build's progress */
.cap {
  position: absolute; right: 24px; bottom: 24px; z-index: 3;
  width: 372px; padding: 12px 16px 14px;
  background: var(--white); color: var(--ink);
  font: 400 14px/1.45 "IBM Plex Sans", Arial, sans-serif;
  will-change: opacity;
}
.cap .count { display: block; font-weight: 500; font-size: 14px; letter-spacing: .005em; font-variant-numeric: tabular-nums; }
.cap .replay {
  display: block; margin: 4px 0 -6px -6px; padding: 6px; min-height: 28px; border: 0; background: none; cursor: pointer;
  font: 600 14px/1.2 "IBM Plex Sans", Arial, sans-serif; color: var(--red);
  text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px;
}
.cap .replay:hover { text-decoration-thickness: 2px; }
.cap .replay[hidden] { display: none; }
.cap .count b { font-weight: 700; display: inline-block; min-width: 3ch; text-align: right; }
.cap .bar { display: block; position: relative; height: 2px; margin: 8px 0 9px; background: var(--lg); overflow: hidden; }
.cap .bar i { position: absolute; inset: 0; background: var(--red); transform-origin: 0 50%; }
.cap .txt { display: block; }
html:not(.js) .cap .count, html:not(.js) .cap .bar { display: none; }

/* Offer panel: solid Stevens Red, bottom left (P) */
.panel {
  position: absolute; left: 0; bottom: 0; z-index: 5;
  will-change: opacity, transform;
  width: 480px; padding: 34px 36px 30px;
  background: var(--red); color: var(--white);
}
.panel h1 {
  font: 700 48px/1.02 "Saira Condensed", "Arial Narrow", sans-serif; letter-spacing: .002em;
}
.panel p { margin-top: 16px; font-size: 18px; line-height: 1.5; }
.panel .btn { margin-top: 24px; }
.panel .skip-scene {
  display: inline-block; margin-top: 16px; color: var(--white);
  font-weight: 500; font-size: 16px;
}

/* Pinned scroll scene (desktop, full motion; class set by pb.js): the build runs backwards, near to far */
html.pin .stage { height: calc(var(--heroH) * 2 + 100vh); }
html.pin .hero { position: sticky; top: var(--head); }
html.pin #training { margin-top: calc(var(--heroH) * -1); }

/* ---------- Sections (P's look, without its number grid) ---------- */
section[id] { scroll-margin-top: var(--head); }
.wrap, .sec-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sec-h {
  font: 700 64px/1 "Saira Condensed", "Arial Narrow", sans-serif; letter-spacing: .002em;
}
.lede { max-width: 40em; margin-top: 18px; font-size: 18px; line-height: 1.6; }

/* Training: Dark Gray band, the ground the hero ends on */
.training { position: relative; z-index: 2; color: var(--white); background: var(--ink); padding: calc(var(--cell) * 2) 0; }
.snap { padding-top: calc(var(--cell) * .5); }
.training .lede, .contact .lede { color: var(--lg); }
.ws { list-style: none; margin: var(--cell) 0 0; padding: 0; }
.w {
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: calc(var(--cell) * 8) 1fr; column-gap: var(--cell);
  padding-bottom: calc(var(--cell) * .5);
}
.w:last-child { border-bottom: 1px solid var(--rule); }
.w-aud { font: 500 16px/1.4 "IBM Plex Sans", Arial, sans-serif; color: var(--lg); letter-spacing: .01em; }
.w h3 { margin-top: 8px; font: 700 34px/1.05 "Saira Condensed", "Arial Narrow", sans-serif; }
.w-body p { color: var(--lg); }
.w-body .btn { margin-top: 20px; }

/* Events */
.events { position: relative; z-index: 2; padding: calc(var(--cell) * 2) 0; background: var(--white); }
.ev { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; margin-top: var(--cell); background: var(--white); }
.ev th {
  text-align: left; font: 600 13px/1.3 "IBM Plex Sans", Arial, sans-serif; letter-spacing: .08em;
  text-transform: uppercase; padding: 0 12px 10px; vertical-align: bottom; border-bottom: 2px solid var(--ink);
}
.ev th:nth-child(1) { width: calc(var(--cell) * 4); }
.ev th:nth-child(2) { width: calc(var(--cell) * 3); }
.ev th:nth-child(4) { width: calc(var(--cell) * 4); }
.ev td { vertical-align: top; padding: 14px 12px 15px; border-bottom: 1px solid var(--rule); }
.ev th:first-child, .ev td:first-child { padding-left: 0; }
.ev .c-link { text-align: right; }
.ev .when { font-weight: 500; font-variant-numeric: tabular-nums; }
.ev .when.posted { font-weight: 400; }
.ev .t { font-weight: 600; display: block; }
.ev .who { display: block; margin-top: 2px; font-size: 16px; line-height: 1.45; }
.ev .tag-sold { display: table; margin-top: 6px; font-size: 14px; font-weight: 600; padding: 1px 8px; background: var(--lg); }

/* People (headshots exactly as in P: no effect on faces) */
.people { position: relative; z-index: 2; background: var(--white); padding: 96px 0; border-top: 1px solid var(--lg); }
.ppl {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 44px 32px;
}
@media (min-width: 1200px) { .ppl { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 28px; } }
.ppl img { width: 100%; max-width: 192px; aspect-ratio: 1; object-fit: cover; background: var(--lg); }
.ppl h3 { margin-top: 14px; font: 600 18px/1.3 "IBM Plex Sans", Arial, sans-serif; }
.ppl h3 a { color: var(--ink); text-decoration: none; }
.ppl h3 a:hover { color: var(--red); text-decoration: underline; }
.ppl .role { margin-top: 4px; font-weight: 600; color: var(--red); font-size: 16px; }
.ppl .title { margin-top: 4px; font-size: 16px; line-height: 1.45; }

/* Resources */
.resources { position: relative; z-index: 2; background: var(--white); padding: 96px 0 112px; border-top: 1px solid var(--lg); }
.res { margin-top: 40px; max-width: 760px; border-top: 2px solid var(--ink); padding-top: 18px; }
.res .when { font-weight: 600; }
.res h3 { margin-top: 6px; font: 700 34px/1.05 "Saira Condensed", "Arial Narrow", sans-serif; }
.res p.d { margin-top: 12px; }

/* Contact, closing on the segment mosaic */
.contact { position: relative; z-index: 2; color: var(--white); background: var(--ink); padding: calc(var(--cell) * 2) 0; }
.ct { display: grid; grid-template-columns: calc(var(--cell) * 7) 1fr; column-gap: var(--cell); margin-top: var(--cell); border-top: 1px solid var(--rule); padding-top: calc(var(--cell) * .5); }
.ct address { font-style: normal; color: var(--lg); line-height: 1.7; }
.ct a:not(.btn) { color: var(--white); }
.ct .btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; }
.bookend { margin: calc(var(--cell) * 1.5) 0 0; }
.be-cv { display: block; width: 960px; max-width: 100%; height: auto; aspect-ratio: 1920 / 780; }
html:not(.js) .bookend { display: none; }
.bookend figcaption { margin-top: 14px; font-size: 16px; color: var(--lg); max-width: 40em; }

/* Footer */
.foot { position: relative; z-index: 2; background: var(--white); padding: 48px 0 56px; }
.foot .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.foot img { width: 150px; height: 40px; }
.foot .fl { margin-top: 14px; font-size: 16px; }
.foot .about { font-size: 16px; line-height: 1.6; }
.motion-btn {
  margin-top: 16px; background: none; border: 1px solid var(--ink); color: var(--ink); border-radius: 3px;
  font: 500 15px/1 "IBM Plex Sans", Arial, sans-serif; padding: 12px 16px; cursor: pointer; min-height: 44px;
}
.motion-btn:hover { background: var(--ink); color: var(--white); }

/* Entry rise for rows (full motion only; pb.js eases each row in, 40 ms apart) */
html.rise-on .rise:not(.in) { opacity: 0; transform: translateY(8px); }

/* ---------- Medium widths ---------- */
@media (max-width: 1180px) {
  .site-head { padding: 0 24px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--lg); display: none; }
  html:not(.js) .nav { position: static; display: block; border: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .nav a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--lg); }
  .nav .nav-mail { display: block; }
  .nav .nav-mail a { color: var(--red); font-weight: 600; border-bottom: 0; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
    background: var(--white); border: 1px solid var(--ink); border-radius: 3px; color: var(--ink);
    font: 600 16px/1 "IBM Plex Sans", Arial, sans-serif; cursor: pointer;
  }
  html:not(.js) .menu-btn { display: none; }
  html:not(.js) .site-head { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 8px; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; gap: 0 18px; padding: 0; }
  html:not(.js) .nav a { border: 0; font-size: 16px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .cap { width: 320px; }
}

/* ---------- Phone and tablet: text first, image second ---------- */
@media (max-width: 899px) {
  :root { --head: 64px; }
  .site-head { padding: 0 16px; }
  .brand { gap: 12px; }
  .brand img { width: 105px; height: 28px; }
  .brand .lab { font-size: 20px; padding-left: 12px; height: 28px; }
  .hero { height: auto; overflow: visible; background: var(--white); }
  .panel { position: relative; width: auto; padding: 24px 16px 28px; }
  .panel h1 { font-size: 36px; line-height: 1.05; max-width: 15em; }
  .panel p { font-size: 16px; margin-top: 14px; max-width: 34em; }
  .panel .btn { margin-top: 22px; width: 100%; max-width: 380px; }
  .panel .skip-scene { display: none; }
  .built { position: relative; inset: auto; }
  .frame { position: relative; inset: auto; height: 420px; }
  .cap { position: static; width: auto; padding: 12px 16px 18px; font-size: 15px; line-height: 1.5; border-bottom: 1px solid var(--lg); }
  .cap .replay { min-height: 44px; margin: 2px 0 -10px -6px; font-size: 15px; }
  .chip { font-size: 13px; }
  .wrap, .sec-wrap { padding: 0 16px; }
  .sec-h { font-size: 44px; }
  .lede { font-size: 17px; }
  .training { padding: 56px 0; }
  .snap { padding-top: 0; }
  .ws { margin-top: 36px; }
  .w { grid-template-columns: 1fr; padding: 22px 0 26px; }
  .w h3 { font-size: 30px; }
  .w-body { margin-top: 12px; }
  .w-body .btn { width: 100%; max-width: 380px; }
  .events { padding: 64px 0 56px; }
  .ev, .ev tbody, .ev tr, .ev td { display: block; width: auto; }
  .ev thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ev { margin-top: 28px; }
  .ev tr { border-bottom: 1px solid var(--lg); padding: 16px 0; }
  .ev td { border: 0; padding: 0; }
  .ev .c-date, .ev .c-type, .ev .c-link { width: auto; text-align: left; }
  .ev .c-type { font-size: 16px; }
  .ev td.c-ev { margin-top: 6px; }
  .ev td.c-link { margin-top: 8px; }
  .people, .resources { padding: 64px 0; }
  .ppl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin-top: 32px; }
  .ppl h3 { font-size: 17px; }
  .ppl .title, .ppl .role { font-size: 16px; }
  .res h3 { font-size: 30px; }
  .contact { padding: 56px 0; }
  .ct { grid-template-columns: 1fr; padding-top: 22px; margin-top: 28px; }
  .ct address { margin-bottom: 18px; }
  .ct .btns .btn { width: 100%; max-width: 380px; }
  .bookend { margin-top: 40px; }
  .foot .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .frame { height: 520px; }
  .panel { padding: 36px 32px 36px; }
  .panel h1 { font-size: 46px; }
  .wrap, .sec-wrap { padding: 0 32px; }
  .cap { padding: 14px 32px 18px; }
}

/* Review hooks (?frame, ?scroll) hold a settled state for screenshots */
html.hold *, html.hold *::before, html.hold *::after,
html.noframes *, html.noframes *::before, html.noframes *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; }

/* Reduced motion: no build, pin, rise or fades (pb.js reads the same gate) */
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) *, html:not(.force-motion) *::before, html:not(.force-motion) *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  html:not(.force-motion) .rise { opacity: 1 !important; transform: none !important; }
  html:not(.force-motion).prebuild .cv-build { background: none; }
}
