.team-cursor {
  --cursor-ink: #ff968c;
  --cursor-edge: #382126;
  --cursor-facet: #c95b59;
  --cursor-highlight: #ffe8d9;
  --click-size: 19px;
  pointer-events: none;
}
.team-cursor[data-role="type"] {
  --cursor-ink: #fff2db;
  --cursor-edge: #302328;
  --cursor-facet: #b6a18d;
  --cursor-highlight: #fffdf5;
}
.team-cursor .cursor-shape {
  fill: var(--cursor-ink);
  stroke: var(--cursor-edge);
}
.team-cursor .cursor-facet { fill: var(--cursor-facet); }
.team-cursor .cursor-highlight { stroke: var(--cursor-highlight); }
/* The tip of the master shape sits at (1.7, 2) in its 27 × 31 viewBox. */
.team-cursor > svg {
  translate: -6.3% -6.45%;
  overflow: visible;
  filter: drop-shadow(0 .65px .55px #170f124d);
}
.section-tools { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 5; }
.section-origin, .section-pointer, .section-guide { position: absolute; top: 0; left: 0; pointer-events: none; }
.section-pointer { width: 22px; height: 26px; opacity: 0; }
.section-pointer svg { display: block; width: 100%; height: 100%; }
.section-pointer > i, .draft-tools .team-cursor > i {
  position: absolute;
  left: calc(var(--click-size) * -.5); top: calc(var(--click-size) * -.5);
  width: var(--click-size); height: var(--click-size);
  border: 1px solid var(--cursor-ink); border-radius: 50%;
  box-shadow: 0 0 0 .6px #2c191c80;
  opacity: 0;
}
.team-cursor > i::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 2.4px; height: 2.4px; margin: -1.2px;
  border-radius: 50%; background: var(--cursor-ink);
}
.section-guide { opacity: 0; transform-origin: top left; border-top: 1px solid currentColor; }
.section-guide::after {
  content: ""; position: absolute; right: 0; top: -2px;
  width: 1px; height: 4px; background: currentColor;
}
.section-origin[data-role="type"] { color: #e8d7bb; }
.section-origin[data-role="layout"] { color: #f78a85; }
.section-origin[data-role="layout"] .section-guide { height: 18px; border-left: 1px solid currentColor; }
.draft-tools .team-cursor { z-index: 3; width: 24px; height: 28px; filter: none; }
.draft-tools .team-cursor[data-role="type"] { width: 23px; height: 27px; }
.draft-tools .draft-caret { z-index: 2; background: #ffedcf; }
.team-guides { position: absolute; inset: 0; pointer-events: none; }
.team-guide {
  position: absolute;
  opacity: 0;
  background: currentColor;
  color: #f78a85;
  transform-origin: left top;
}
.team-guide[data-owner="type"] { color: #e8d7bb; }
.team-guide::before, .team-guide::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 4px;
  top: -2px;
  background: currentColor;
}
.team-guide::after { right: 0; }
.team-guide.vertical::before, .team-guide.vertical::after {
  width: 4px; height: 1px; left: -2px; top: 0;
}
.team-guide.vertical::after { top: auto; bottom: 0; }
.intro-pending .draft-skip::after { animation: none; transform: scaleX(0); }
.building:not(.intro-pending) body > .draft-skip {
  position: fixed;
  top: max(var(--skip-top, 12px), env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #735056;
  border-radius: 30px;
  background: #100d0ef2;
  color: #fff4ee;
  font-size: 11px;
}
.foot > span[data-build="label"] { text-transform: none; }
.team-progress {
  position: absolute; left: 8%; width: 84%; bottom: 0; height: 1px;
  background: #f77c87; transform-origin: left;
}
@media (max-width: 600px) {
  .team-cursor { --click-size: 16px; }
  .draft-tools .team-cursor { width: 20px; height: 23px; }
  .draft-tools .team-cursor[data-role="type"], .section-pointer { width: 19px; height: 22px; }
}

/* Only a running assembly may withhold paint. All HTML keeps its natural dimensions. */
@media screen and (prefers-reduced-motion: no-preference) {
  .building [data-build]:not([data-built]) { opacity: 0; }
  .building :is(.section-line,.process,footer) { transition: border-color .42s; }
  .building :is(.section-line,footer):not([data-lined]) { border-top-color: transparent; }
  .building .process:not([data-lined]) { border-color: transparent; }
  .building :is(a, details)[data-build]:not([data-built]) { pointer-events: none; }
  .building .canada-project:not(:has(.canada-preview[data-built], .canada-copy h3[data-built])) { pointer-events: none; }
  .building [data-build]:focus-visible { opacity: 1 !important; }
}
.section-caret {
  position: absolute; top: 0; left: 0; width: 1.5px; height: 1px;
  transform-origin: 0 0; background: #fff2db; opacity: 0; pointer-events: none;
}
@media print, (prefers-reduced-motion: reduce) {
  .section-tools { display: none !important; }
}
@media print {
  [data-build] { opacity: 1 !important; clip-path: none !important; translate: none !important; }
}

/* Keep the copy, portrait, and index on the same artboard on a landscape phone. */
@media (orientation: landscape) and (pointer: coarse) and (max-height: 500px) and (max-width: 1024px) {
  .header .navrow { min-height: 42px; padding-block: 0; }
  .navrow nav a { padding-block: 10px; }
  .hero-inner { height: clamp(245px, calc(100svh - 74px), 420px); }
  .hero-inner::after {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    inset: 15% 54% 0 -3%;
    background: linear-gradient(90deg, #0b0a0ade, #0b0a0aa8 52%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 34%);
  }
  .poster-type { top: 13px; height: 77%; }
  .portrait {
    top: auto; right: auto; bottom: 0; left: 54%;
    width: 55%; height: 97%; transform: translateX(-50%);
    mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
  }
  .portrait img { height: 115%; }
  .hero-copy { z-index: 1; left: 1px; bottom: 12px; width: min(37%, 300px); min-width: 0; }
  .intro-script { font-size: clamp(24px, 3.6vw, 31px); }
  .hero-copy h1 { font-size: clamp(65px, 10.2vw, 90px); }
  .role { margin: 7px 0 5px; font-size: 14px; }
  .bio { max-width: 34ch; font-size: 12.5px; line-height: 1.4; }
  .hero-cta { min-height: 30px; margin-top: 7px; gap: 8px; font-size: 9px; }
  .hero-cta .circle-arr { width: 25px; height: 25px; }
  .hero-index { right: 1px; bottom: 17px; width: clamp(94px, 15.5vw, 137px); }
  .compass { display: grid; width: 26px; height: 26px; margin-bottom: 9px; font-size: 17px; }
  .compass::before { width: 34px; }
  .compass::after { height: 34px; }
  .index-row { gap: 7px; padding: 5px 0; }
  .index-row b { font-size: 27px; }
  .index-row span { font-size: 9.5px; letter-spacing: .035em; }
}
@media (orientation: landscape) and (pointer: coarse) and (max-height: 285px) and (max-width: 1024px) {
  .header .navrow { min-height: 34px; }
  .navrow nav a { padding-block: 7px; }
  .hero-inner { height: max(220px, calc(100svh - 58px)); }
  .hero-copy { bottom: 8px; }
  .intro-script { font-size: 23px; }
  .hero-copy h1 { font-size: 61px; }
  .role { margin-block: 5px 3px; }
  .hero-cta { margin-top: 4px; }
}
