/* Sample PC, "Depth Cloud". Round 03, variant C. Built from sample P (round 02). Brand rules: light. */
:root {
  --red: #A32638;
  --ink: #363D45;
  --lg: #E4E5E6;
  --white: #FFFFFF;
  --head: 96px;
  --heroH: clamp(560px, calc(100vh - var(--head)), 1000px);
  --rule: #E4E5E6;
  --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 atrium as a depth point cloud ---------- */
.stage { position: relative; }
.hero {
  position: relative; z-index: 1;
  height: var(--heroH);
  overflow: hidden;
  background: var(--ink);
}
.cloud { position: absolute; inset: 0; margin: 0; overflow: hidden; background: var(--ink); }
.photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  will-change: opacity;
}
.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: opacity; }
html:not(.has3d) .gl, html:not(.has3d) .apex, html:not(.has3d) .view { display: none; }
html.has3d .cph, html:not(.has3d) .c3d { display: none; }
/* once the scroll scene (or the swap button) has left the photograph alone, the caption says so */
html.has3d.photo-only .cph { display: inline; }
html.has3d.photo-only .c3d { display: none; }
html:not(.js) .cap-box { display: none; }
html.wait3d .photo { opacity: 0; }   /* dark ground while the cloud loads; pc.js drops this after 1.5 s or on failure */
.photo.fade-out { transition: opacity .6s cubic-bezier(.23, 1, .32, 1); }

/* The photo's camera, marked where its frustum lines meet (placed by pc.js) */
.apex {
  position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
  opacity: 0;
}
.apex::before {
  content: ''; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px;
  background: var(--white); outline: 1px solid var(--ink);
}
.apex span {
  position: absolute; left: 14px; top: -12px; white-space: nowrap;
  font: 500 13px/1 "IBM Plex Sans", Arial, sans-serif; letter-spacing: .01em;
  color: var(--ink); background: var(--white); padding: 5px 8px 6px;
}
.apex.flip span { left: auto; right: 14px; }

/* Boxes over the canvas run at opacity .999 (pixel-identical: white stays 255, Stevens Red stays #A32638):
   Chrome's software compositor treats a fully opaque box as an occluder and can then drop part of the
   WebGL canvas next to it (with --disable-gpu: the whole column above the red panel, and a corner beside
   the caption at 1280 x 650 and 1000 x 700; GPU rendering is unaffected). */
.panel, .cap-box, .apex span { opacity: .999; }

/* Caption: small type on a solid white ground, top left of the hero, above the red panel */
.cap-box {
  position: absolute; top: 32px; left: 36px; z-index: 3; width: 360px;
  background: var(--white); color: var(--ink); padding: 11px 14px 12px;
}
.cap { font: 400 13px/1.45 "IBM Plex Sans", Arial, sans-serif; }
.hero.cap-right .cap-box { left: auto; right: 24px; top: 24px; }
.view {
  margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--lg);
  font: 500 13px/1.3 "IBM Plex Sans", Arial, sans-serif; font-variant-numeric: tabular-nums;
}
.view .k {
  font: 600 12px/1 "IBM Plex Sans", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  margin-right: 6px; color: var(--red);
}
.swap {
  margin-top: 10px; min-height: 40px; padding: 0 14px; border-radius: 3px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink);
  font: 600 14px/1 "IBM Plex Sans", Arial, sans-serif;
}
.swap:hover { background: var(--ink); color: var(--white); }
.swap:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.play {
  margin: 10px 0 0 8px; min-height: 40px; padding: 0 4px; cursor: pointer;
  background: none; border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: .18em;
  font: 500 14px/1 "IBM Plex Sans", Arial, sans-serif;
}
.play:hover { color: var(--red); }
.play:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Offer panel: solid Stevens Red, bottom left, never moves */
.panel {
  position: absolute; left: 0; bottom: 0; z-index: 5;
  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 only (class set by pc.js). The hero holds under the
   header for 110vh while the camera swings back to the photo's own view, then scrolls away. */
html.pin .stage { height: calc(var(--heroH) + 110vh); }
html.pin .hero { position: sticky; top: var(--head); }

/* ---------- Sections (P's look, without its number grid) ---------- */
section[id] { scroll-margin-top: var(--head); }
.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 { position: relative; z-index: 2; color: var(--white); background: var(--ink); padding: 104px 0 96px; border-top: 1px solid var(--rule); }
.training .lede, .contact .lede { color: var(--lg); }
.ws { list-style: none; margin: 56px 0 0; padding: 0; }
.w {
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 384px 1fr; column-gap: 48px;
  padding: 26px 0 34px;
}
.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 { padding: 96px 0; background: var(--white); }
.ev { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; margin-top: 48px; }
.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: 192px; }
.ev th:nth-child(2) { width: 144px; }
.ev th:nth-child(4) { width: 192px; }
.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 { 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 { 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 */
.contact { color: var(--white); background: var(--ink); padding: 104px 0 104px; }
.ct { display: grid; grid-template-columns: 336px 1fr; column-gap: 48px; margin-top: 48px; border-top: 1px solid var(--rule); padding-top: 26px; }
.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; }

/* Footer */
.foot { 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; pc.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; }
  .w { grid-template-columns: 300px 1fr; }
}

/* ---------- 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; }
  .cloud { position: relative; inset: auto; height: 400px; }
  .hero .cap-box { display: none; }
  .apex span { font-size: 12px; padding: 4px 6px 5px; top: -11px; }
  .fig-cap { background: var(--white); color: var(--ink); padding: 14px 16px 18px; }
  .fig-cap p:first-child { font-size: 15px; line-height: 1.5; }
  .fig-cap .swap { min-height: 44px; }
  .training { border-top: 0; }
  html:not(.js) .fig-cap { display: none; }
  .wrap { padding: 0 16px; }
  .sec-h { font-size: 44px; }
  .lede { font-size: 17px; }
  .training { padding: 56px 0 56px; }
  .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; }
  .foot .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .cloud { height: 520px; }
  .panel { padding: 36px 32px 36px; }
  .panel h1 { font-size: 46px; }
  .wrap { padding: 0 32px; }
  .fig-cap { padding: 14px 32px 18px; }
}
@media (min-width: 900px) {
  .fig-cap-out { display: none; }
}

/* Review hooks (?frame, ?intro) 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 intro, orbit, pin, rise or fades (pc.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; }
}
