main {
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}
main h1,
main h2,
main h3,
main p,
main figure {
  margin: 0;
}
main img {
  display: block;
  max-width: 100%;
}
main a {
  color: inherit;
}
main summary {
  cursor: pointer;
}
main details p {
  margin-top: 0.65rem;
}
main :focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
main section[id] {
  scroll-margin-top: 1rem;
}
main {
  background: #f6f4e9;
  color: #1b3c4d;
}
.pi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 4.8vw;
  background: #eff97a;
  color: #173541;
}
.pi-head b {
  font:
    400 34px/1 "League Gothic",
    sans-serif;
  letter-spacing: -0.015em;
}
.pi-head a {
  font-size: 13px;
  font-weight: 650;
}
.pi-blue {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  align-items: center;
  background: #214c64;
  color: #f6f6e9;
  padding: 4vw 5vw;
  gap: 4vw;
}
.pi-drawing {
  border: 1px solid #c6ddd259;
  box-shadow: 6px 6px 0 #143549;
}
.pi-drawing svg {
  display: block;
  width: 100%;
  height: auto;
}
.pi-copy > p:first-child,
.pi-work article > span,
.pi-shift > p {
  font:
    12px "JetBrains Mono",
    monospace;
}
.pi-copy h1 {
  font:
    400 clamp(70px, 8.7vw, 142px) / 0.81 "League Gothic",
    "Arial Narrow",
    sans-serif;
  text-transform: uppercase;
  margin: 20px 0;
}
.pi-copy .request {
  display: inline-block;
  padding: 11px 16px;
  background: #eff97a;
  color: #173541;
  font-weight: 650;
  text-decoration: none;
  margin-top: 20px;
}
.pi-check {
  padding: 4vw 5vw;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4vw;
  background: #dce5dc;
}
.pi-check h2,
.pi-work h2 {
  font:
    400 clamp(42px, 5vw, 75px) / 0.93 "League Gothic",
    sans-serif;
  text-transform: uppercase;
}
.pi-check header p {
  margin-top: 15px;
}
.pi-check fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 6px;
}
.pi-check legend {
  font:
    12px "JetBrains Mono",
    monospace;
  margin-bottom: 9px;
}
.pi-check label {
  display: block;
  cursor: pointer;
  border-bottom: 1px solid #8da59f;
  padding: 7px 0;
}
.pi-check input {
  accent-color: #253f4e;
}
.pi-check label:has(:checked) {
  text-decoration: line-through;
}
.pi-work {
  padding: 5vw;
}
.pi-work > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 22px;
}
.pi-work article {
  border-left: 4px solid #799b9d;
  padding: 0 0 0 14px;
}
.pi-work h3 {
  font-size: 24px;
  letter-spacing: -0.055em;
  margin: 13px 0;
}
.pi-work a {
  display: inline-block;
  margin-top: 13px;
}
.pi-shift {
  padding: 22px 5vw;
  background: #e0e5d8;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.pi-shift details {
  max-width: 50ch;
}
@media (max-width: 680px) {
  .pi-blue,
  .pi-check,
  .pi-work > div {
    grid-template-columns: 1fr;
  }
  .pi-blue,
  .pi-check,
  .pi-work {
    padding: 32px 21px;
    gap: 20px;
  }
  .pi-copy {
    order: -1;
  }
  .pi-copy h1 br {
    display: none;
  }
  .pi-drawing {
    max-width: 450px;
  }
  .pi-shift {
    display: block;
  }
  .pi-shift details {
    margin-top: 10px;
  }
  .pi-drawing svg {
    max-height: 260px;
  }
  .pi-head a {
    font-size: 12px;
  }
}

main {
  --inquiry-bg: #21485f;
  --inquiry-ink: #edf6eb;
  --inquiry-button: #eefa8a;
  --inquiry-button-text: #193647;
}
.pi-head b {
  text-transform: uppercase;
}

.pi-layers {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 7%;
  padding: 5% 6%;
  align-items: center;
}
.pi-layers h2,
.pi-boundary h2,
.pi-handover h2,
.pi-brief h2 {
  font:
    400 clamp(45px, 5.7vw, 86px) / 0.97 "League Gothic",
    Impact,
    sans-serif;
  text-transform: uppercase;
}
.pi-layers > div > p,
.pi-handover p,
.pi-brief p {
  margin: 11px 0;
}
.pi-plate {
  background: #e1e5ca;
  border: 1px solid #587075;
  padding: 4%;
}
.pi-model {
  height: 120px;
  position: relative;
  perspective: 600px;
}
.pi-model i,
.pi-model b,
.pi-model em {
  position: absolute;
  inset: 15% 19% 7%;
  border: 2px solid #55727a;
  transform: rotateX(38deg) rotateZ(-12deg);
  background: repeating-linear-gradient(
    90deg,
    #f5f4d7 0 24px,
    #d2d9bf 24px 25px
  );
  transition:
    transform 0.45s,
    background-color 0.45s;
}
.pi-model b {
  inset: 21% 28% 28%;
  background: #abc5c0;
}
.pi-model em {
  inset: 33% 38% 38%;
  background: #f6da70;
}
.pi-plate[data-layer="access"] b {
  transform: translate(5px, -17px) rotateX(38deg) rotateZ(-12deg);
}
.pi-plate[data-layer="handover"] em {
  transform: translate(-12px, -23px) rotateX(38deg) rotateZ(-12deg);
}
.pi-plate fieldset {
  border: 0;
  padding: 0;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.pi-plate legend {
  font-weight: 650;
}
.pi-plate output {
  display: block;
  min-height: 45px;
}
.pi-boundary {
  background: #1c4254;
  color: #f6f6db;
  padding: 5% 6%;
}
.pi-boundary > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4%;
  margin-top: 22px;
}
.pi-boundary article {
  border-top: 1px solid #9fb2aa;
  padding-top: 12px;
}
.pi-boundary h3 {
  font-size: 21px;
}
.pi-boundary p {
  margin-top: 8px;
}
.pi-handover {
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8%;
  padding: 5% 8%;
  background: #e3e6cc;
}
.pi-roll {
  height: 175px;
  background: repeating-linear-gradient(
    0deg,
    #315c70 0 17px,
    #446d7d 17px 18px
  );
  border-left: 15px solid #183849;
  color: #eef2d2;
  position: relative;
  overflow: hidden;
}
.pi-roll i {
  position: absolute;
  inset: 22% 15% 30%;
  border: 2px solid #e5e9b0;
  transform: skewY(-8deg);
}
.pi-roll b {
  position: absolute;
  right: 8%;
  bottom: 9%;
  font:
    13px "JetBrains Mono",
    monospace;
}
.pi-brief {
  margin: 35px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  padding: 4%;
  border: 1px solid #426775;
  background: #edf1dc;
}
.close-line {
  background: #204859;
  color: #f6f6de;
}
@keyframes pipe-trace {
  from {
    stroke-dashoffset: 750;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes unroll-drawing {
  from {
    clip-path: inset(0 83% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pi-blue svg path[stroke="#faff7a"] {
    stroke-dasharray: 750;
    animation: pipe-trace 1.5s ease-in-out;
  }
  .pi-handover.in-view .pi-roll {
    animation: unroll-drawing 1.1s ease-out;
  }
}
@media (max-width: 660px) {
  .pi-layers,
  .pi-boundary > div,
  .pi-handover,
  .pi-brief {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .pi-layers,
  .pi-boundary,
  .pi-handover {
    padding: 28px 6%;
  }
  .pi-roll {
    height: 120px;
  }
  .pi-brief {
    padding: 22px;
  }
}
.pi-brief form {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}
.pi-brief label {
  display: grid;
  gap: 5px;
  font:
    600 14px/1.35 "DM Sans",
    sans-serif;
}
.pi-brief select,
.pi-brief textarea,
.pi-brief input {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #686e67;
  color: #202820;
  background: #fff;
  font:
    400 16px/1.35 "DM Sans",
    sans-serif;
}
.pi-brief button {
  border: 0;
  padding: 12px 16px;
  width: fit-content;
  min-height: 44px;
  background: #244f64;
  color: #fffce9;
  font-weight: 650;
  text-align: left;
}
.pi-brief output:not(:empty) {
  display: block;
  white-space: pre-line;
  border-left: 3px solid currentColor;
  padding: 10px 12px;
  background: rgba(127, 127, 127, 0.09);
}
.pi-brief output:empty,
.pi-brief output:empty + [data-save-copy] {
  display: none;
}
.pi-brief [data-save-copy] {
  font-size: 13px;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  padding-inline: 0;
}
.close-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  padding: 24px 5%;
  border-top: 1px solid currentColor;
}
.close-line nav {
  display: flex;
  gap: 9px 19px;
  flex-wrap: wrap;
  font-size: 14px;
}
.close-line a {
  text-underline-offset: 3px;
}
.close-line strong {
  font-size: 19px;
  letter-spacing: -0.035em;
}

.pi-drawingnotes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #e6e7d4;
  padding: clamp(25px, 4vw, 62px);
  gap: 0;
}
.pi-drawingnotes .pi-boundary,
.pi-drawingnotes .pi-handover {
  display: block;
  margin: 0;
  padding: clamp(20px, 3vw, 49px);
  border: 1px solid #31505a;
}
.pi-drawingnotes .pi-boundary > div {
  display: block;
}
.pi-drawingnotes .pi-boundary article {
  padding: 11px 0 0;
}
.pi-drawingnotes .pi-handover {
  border-left: 0;
}
.pi-drawingnotes .pi-handover article {
  margin-top: 24px;
}
.pi-drawingnotes .pi-handover .pi-roll {
  margin: 0;
  max-width: 190px;
}
.pi-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, 0.23fr);
  padding: 0;
  margin: 30px 5%;
  border: 2px solid #24434c;
  background-color: #f3f1de;
  background-image:
    linear-gradient(#54716b15 1px, transparent 1px),
    linear-gradient(90deg, #54716b15 1px, transparent 1px);
  background-size: 17px 17px;
  gap: 0;
}
.pi-brief > aside {
  grid-column: 1;
  padding: clamp(20px, 3vw, 42px);
  border-bottom: 1px solid #526b64;
}
.pi-brief form {
  grid-column: 1;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.pi-brief form label {
  border: 1px solid #a4afa0;
  padding: 13px;
}
.pi-brief :is(select, textarea) {
  border: 0;
  border-bottom: 1px solid #557066;
  background: #fffdf3;
  padding: 8px;
}
.pi-brief form button,
.pi-brief form output {
  margin: 10px 14px;
}
.pi-brief form output {
  grid-column: 1/-1;
}
.pi-titleblock {
  grid-row: 1/3;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  padding: 15px;
  border-left: 2px solid #294852;
  color: #23434c;
  background: #d9e5d7;
}
.pi-titleblock > * {
  width: 100%;
  border-bottom: 1px solid #698076;
  padding-bottom: 10px;
}
.pi-titleblock b {
  font:
    clamp(50px, 6vw, 88px) / 0.9 "League Gothic",
    Impact,
    sans-serif;
}
.pi-titleblock span,
.pi-titleblock small {
  font: 12px/1.4 monospace;
}
@media (max-width: 700px) {
  .pi-drawingnotes,
  .pi-brief,
  .pi-brief form {
    grid-template-columns: 1fr;
  }
  .pi-drawingnotes .pi-handover {
    border-left: 1px solid #31505a;
    border-top: 0;
  }
  .pi-titleblock {
    grid-column: 1;
    grid-row: 3;
    border-top: 2px solid #294852;
    border-left: 0;
    flex-direction: row;
    align-items: end;
    gap: 12px;
  }
  .pi-titleblock > * {
    border-bottom: 0;
    padding: 0;
    width: auto;
  }
  .pi-titleblock b {
    font-size: 40px;
  }
}

.pi-head {
  background: #142d71;
  color: white;
  border-bottom: 1px solid #9eb2cd;
}
.pi-head b {
  font:
    540 23px/1.1 "Space Mono",
    monospace;
}
.pi-blue {
  background: #1a3377;
  background-image:
    linear-gradient(#c8d4f11a 1px, transparent 1px),
    linear-gradient(90deg, #c8d4f11a 1px, transparent 1px);
  background-size: 21px 21px;
  grid-template-columns: minmax(0, 1.65fr) minmax(230px, 0.8fr);
  padding: 3vw;
  gap: 3vw;
  align-items: stretch;
}
.pi-drawing {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
  border: 1px solid #b8c9d7;
}
.pi-drawing svg {
  max-height: 420px;
}
.pi-copy {
  align-self: center;
  background: #e9edef;
  color: #19346d;
  padding: clamp(20px, 3vw, 44px);
  border-left: 8px solid #9bb7e8;
}
.pi-copy h1 {
  font:
    650 clamp(34px, 4.3vw, 70px) / 1 "Space Mono",
    monospace;
  text-transform: none;
  letter-spacing: -0.092em;
  margin: 15px 0;
}
.pi-copy > .request {
  background: #1a3377;
  color: white;
}
.pi-register {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid #7f91a8;
}
.pi-register a {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #a6b0bc;
  padding: 7px 0;
  text-decoration: none;
  font-weight: 600;
}
.pi-register b {
  font:
    600 15px "Space Mono",
    monospace;
  color: #314b8a;
}
.pi-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  align-self: stretch;
  border-top: 1px solid #a8bcdf;
  padding: 10px;
  font:
    11px "Space Mono",
    monospace;
  color: white;
  background: #142d71;
}
.pi-field-drawings {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  border-bottom: 2px solid #354974;
}
.pi-field-drawings .pi-layers,
.pi-field-drawings .pi-check {
  display: block;
  padding: 4vw;
  background: #f3f4ef;
  color: #1a2b55;
}
.pi-field-drawings .pi-check {
  background: #dce5ef;
  border-left: 1px solid #8fa7b6;
}
.pi-plate,
.pi-check fieldset {
  margin-top: 20px;
}
.pi-shift {
  grid-column: 1/-1;
}
.pi-brief {
  background: #e3e9ef;
}
.pi-brief form input {
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: #fdfdf6;
}
.pi-work h2,
.pi-check h2,
.pi-handover h2,
.pi-brief h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 640;
}
@media (max-width: 760px) {
  .pi-blue {
    grid-template-columns: 1fr;
    padding: 18px 5vw;
    gap: 16px;
  }
  .pi-copy {
    order: -1;
    padding: 16px;
  }
  .pi-copy h1 br {
    display: none;
  }
  .pi-copy h1 {
    font-size: clamp(38px, 7vw, 61px);
  }
  .pi-register {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 11px;
  }
  .pi-register a {
    border: none;
    font-size: 13px;
  }
  .pi-drawing svg {
    height: 230px;
  }
  .pi-field-drawings {
    grid-template-columns: 1fr;
  }
  .pi-field-drawings .pi-check,
  .pi-field-drawings .pi-layers {
    padding: 27px 6vw;
  }
  .pi-field-drawings .pi-check {
    border: 0;
  }
}
