@font-face {
  font-family: Inter;
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Editorial;
  src: url(/assets/fonts/notoserif-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --home-night: var(--pf-navy,#14243a);
  --home-ink: var(--pf-ink,#172538);
  --home-paper: var(--pf-paper,#f7f5ef);
  --home-muted: var(--pf-muted,#536170);
  --home-gold: var(--pf-gold,#d6b674);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--home-paper);
  color: var(--home-ink);
  font: 400 1rem/1.5 Inter,Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hd-main {
  width: min(1280px,calc(100% - clamp(2rem,8vw,9rem)));
  margin: auto;
}

.hd-intro {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,.85fr);
  align-items: end;
  gap: clamp(2rem,7vw,7rem);
  padding: clamp(2.2rem,5.1vw,4.7rem) 0 clamp(1.45rem,3.3vw,3rem);
}

.hd-intro h1 {
  font: 500 clamp(2.65rem,4.7vw,4.7rem)/1.02 Editorial,Georgia,serif;
  letter-spacing: -.06em;
  color: var(--home-ink);
  max-width: 17ch;
  margin: 0;
  text-wrap: balance;
}

.hd-intro p {
  max-width: 41ch;
  margin: 0 0 .13rem;
  color: var(--home-muted);
  font-size: clamp(1rem,1.35vw,1.24rem);
  line-height: 1.5;
}

.hd-display {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #23354e;
  border-radius: 7px;
  background: linear-gradient(115deg,#17263c,#20314a 48%,#142239);
  box-shadow: 0 13px 33px -22px #162134bb;
}

.hd-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: radial-gradient(ellipse 95% 62% at 50% 59%,var(--glow),transparent);
  border-right: 1px solid #a1b2cb36;
}

.hd-slot:last-child {
  border-right: 0;
}

.hd-audit {
  --light: #aecbff;
  --color: #648ed4;
  --glow: #477fe64a;
}

.hd-label {
  --light: #f3d29a;
  --color: #c69755;
  --glow: #bc8d4940;
}

.hd-tracker {
  --light: #9de1de;
  --color: #5aa8ae;
  --glow: #3aa4af4a;
}

.hd-resources {
  --light: #e0c4f5;
  --color: #ae87cd;
  --glow: #a171cd4a;
}

.hd-service,.hd-inspect {
  color: #f7f8fa;
  text-decoration: none;
}

.hd-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .25rem;
  min-height: 3.6rem;
  padding: .65rem clamp(.65rem,1.5vw,1.3rem);
  font-size: clamp(.98rem,1.6vw,1.48rem);
  font-weight: 540;
  letter-spacing: -.045em;
  border-bottom: 1px solid #a1b2cb36;
}

.hd-service>span,.hd-expand {
  color: var(--light);
}

.hd-service>span {
  font-size: 1.08rem;
  line-height: 1;
}

.hd-service:hover {
  text-decoration: underline;
  text-underline-offset: .23em;
}

.hd-inspect {
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 1;
}

.hd-object {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  height: clamp(10rem,18vw,15.7rem);
  perspective: 650px;
}

.hd-object::before {
  content: "";
  position: absolute;
  width: 66%;
  height: 12%;
  bottom: 8%;
  border-radius: 50%;
  background: #07101c77;
  filter: blur(11px);
  transform: rotate(-4deg);
  z-index: -1;
}

.hd-object::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 45% 51%,var(--glow),transparent 68%);
  opacity: 0;
  z-index: -1;
  transition: opacity .25s;
}

.hd-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  margin: auto clamp(.65rem,1.5vw,1.3rem) 0;
  border-top: 1px solid #b9c5d03d;
  padding: .58rem 0 .64rem;
  color: #e8ebef;
  font-size: clamp(.75rem,1.03vw,.94rem);
  font-weight: 500;
}

.hd-expand {
  border: 1px solid #a4afba75;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  font: 500 .98rem/1 Inter,Arial,sans-serif;
}

.hd-service:focus-visible,.hd-inspect:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: -4px;
}

.hd-slot:focus-within .hd-object::after,.hd-slot:hover .hd-object::after {
  opacity: 1;
}

.hd-slot:hover .hd-caption,.hd-inspect:focus-visible .hd-caption {
  color: white;
}

.hd-object>span {
  transition: transform .32s cubic-bezier(.2,.68,.27,1);
}

.hp-register,.hp-folder,.hp-carton,.hp-proof {
  display: block;
  position: absolute;
  will-change: auto;
}

.hp-register {
  width: 61%;
  max-width: 11rem;
  aspect-ratio: 1.04;
  background: linear-gradient(115deg,#f2f5ff,#cddcf0);
  color: #142840;
  padding: 7% 6% 5% 10%;
  border: 1px solid #dbe9ff;
  border-radius: 2px 5px 3px 2px;
  box-shadow: 1px 2px #65758b,2px 4px #e0e7f3,3px 6px #8895a7,5px 9px #203456;
  transform: rotateZ(-7deg) rotateY(12deg);
  font: 550 clamp(.56rem,.86vw,.83rem)/1.2 Inter,Arial,sans-serif;
}

.hp-binding {
  position: absolute;
  inset: 0 auto 0 0;
  width: 9%;
  background: linear-gradient(90deg,#203c60,#456e9e 55%,#6f95c2);
  border-right: 1px solid #aabdd0;
  box-shadow: 2px 0 3px #7b96af75;
}

.hp-register-title {
  display: block;
  font: 600 clamp(.74rem,1.4vw,1.28rem)/1 Editorial,Georgia,serif;
  letter-spacing: -.045em;
}

.hp-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: #6f8ca8;
  margin: 6% 0;
}

.hp-record {
  display: flex;
  gap: .29em;
  align-items: center;
  line-height: 1.55;
}

.hp-record i {
  width: .58em;
  height: .58em;
  border: 1px solid #42617d;
}

.hp-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #123758;
  border-top: 1px solid #90a7c0;
  margin-top: 5%;
  padding-top: 4%;
  font-weight: 650;
}

.hp-follow span {
  font: 700 .92em/1.2 ui-monospace,monospace;
}

.hp-carton {
  left: 20%;
  width: 39%;
  max-width: 7.6rem;
  aspect-ratio: 400/570;
  transform: rotate(-8deg) rotateY(12deg);
  box-shadow: 2px 1px #beb399,4px 2px #b9aa88,7px 4px #73664b,10px 11px 15px #17202c88;
  border-radius: 1px;
}

.hp-carton img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-proof {
  right: 11%;
  width: 38%;
  max-width: 7.2rem;
  background: linear-gradient(125deg,#fffbef,#e2d4ac);
  border: 1px solid #efe2bd;
  border-radius: 2px;
  box-shadow: 1px 2px #ae9564,2px 5px 7px #17213288;
  color: #382e22;
  padding: 5% 4%;
  transform: translateY(16%) rotate(7deg);
  font: 550 clamp(.48rem,.74vw,.67rem)/1.2 Inter,Arial,sans-serif;
}

.hp-proof>span,.hp-proof>b,.hp-proof>i {
  display: block;
}

.hp-proof strong {
  display: block;
  font: 550 clamp(1.35rem,3vw,2.9rem)/1 Editorial,Georgia,serif;
  letter-spacing: -.06em;
}

.hp-proof strong span {
  font-size: .53em;
}

.hp-proof i {
  height: 2px;
  background: #8a7149;
  margin: 9% 0;
}

.hp-proof b {
  font-size: 1.04em;
}

.hp-can {
  position: absolute;
  top: 12%;
  left: 22%;
  height: 74%;
  aspect-ratio: .52;
  border-radius: 48% 48% 44% 44% / 7% 7% 5% 5%;
  background: linear-gradient(90deg,#456974,#76969a 12%,#bfd2c8 32%,#e3e9db 46%,#b3ccc5 64%,#709599 82%,#395b67 100%);
  border: 1px solid #a0bab6;
  box-shadow: 4px 7px 12px #0817229c;
  transform: rotate(-7deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4%;
  color: #1c383c;
}

.hp-lid,.hp-base {
  position: absolute;
  left: 1%;
  width: 98%;
  border: 1px solid #b3c5bd;
  border-radius: 50%;
}

.hp-lid {
  top: -1%;
  height: 12%;
  background: radial-gradient(ellipse at center,#9cafaa 0 62%,#dae0d5 63% 71%,#6b827f 74% 84%,#c8d2c6 88%);
  box-shadow: 0 2px 1px #778a82;
}

.hp-lid i {
  width: 27%;
  height: 53%;
  position: absolute;
  left: 39%;
  top: 19%;
  border-radius: 42%;
  background: #7f9088;
  border: 1px solid #bdc7b9;
}

.hp-base {
  bottom: -1%;
  height: 5%;
  border-bottom: 2px solid #b5c5c1;
  background: linear-gradient(90deg,#56757e,#d4e0d6 44%,#729295);
  box-shadow: 0 1px #41565a;
}

.hp-can-words {
  font: 580 clamp(.43rem,.65vw,.65rem)/1.2 Inter,Arial,sans-serif;
  letter-spacing: .035em;
}

.hp-can-mark {
  font: 700 clamp(.89rem,1.65vw,1.55rem)/1 Inter,Arial,sans-serif;
  letter-spacing: -.055em;
  padding: .19em .09em;
  border-block: 1px solid #386064;
}

.hp-callout {
  position: absolute;
  right: 7%;
  top: 52%;
  width: 40%;
  border-left: 2px solid #83c9c9;
  padding: 3% 3.3%;
  background: #162f3bf5;
  color: #e3f0ed;
  box-shadow: 1px 4px 7px #09182666;
}

.hp-callout::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 45%;
  width: 18%;
  height: 1px;
  background: #9ad0cb;
}

.hp-callout span,.hp-callout time,.hp-callout b {
  display: block;
}

.hp-callout span,.hp-callout time {
  font: 500 clamp(.49rem,.72vw,.68rem)/1.4 ui-monospace,Menlo,monospace;
  color: #badad6;
}

.hp-callout b {
  font: 580 clamp(.57rem,.93vw,.89rem)/1.4 Inter,Arial,sans-serif;
}

.hp-folder {
  width: 68%;
  max-width: 13.5rem;
  aspect-ratio: 1.23;
  background: #78608c;
  border: 1px solid #c4a7d5;
  border-radius: 4px;
  transform: rotate(-7deg) rotateY(-9deg);
  box-shadow: 1px 3px #574766,3px 6px 9px #0f182b99;
}

.hp-tab {
  position: absolute;
  right: 3%;
  top: -8%;
  width: 40%;
  height: 11%;
  border-radius: 4px 4px 0 0;
  background: #b99acc;
  border: 1px solid #c4a7d5;
  border-bottom: 0;
}

.hp-leaf,.hp-worksheet {
  position: absolute;
  inset: 3% 4% 12%;
  background: #f2f0ec;
  border: 1px solid #c7c5bc;
  border-radius: 2px;
}

.hp-leaf {
  transform: rotate(-5deg) translate(-3%,-3%);
}

.hp-worksheet {
  overflow: hidden;
  transform: rotate(3deg);
  box-shadow: 1px 1px 3px #4b39566b;
}

.hp-worksheet img {
  width: 120%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left top;
}

.hp-folio {
  position: absolute;
  inset: auto 0 0;
  padding: 4% 5%;
  border-top: 1px solid #ddcce6;
  color: #2e233c;
  background: linear-gradient(100deg,#c0a6d0,#a58eb9);
  font: 650 clamp(.53rem,.89vw,.82rem)/1.05 Inter,Arial,sans-serif;
}

@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .hd-inspect:hover .hp-register {
    transform: translateY(-6px) rotateZ(-3deg) rotateY(5deg);
  }
  .hd-inspect:hover .hp-carton {
    transform: translate(-3px,-5px) rotate(-5deg);
  }
  .hd-inspect:hover .hp-proof {
    transform: translate(3px,10%) rotate(4deg);
  }
  .hd-inspect:hover .hp-can {
    transform: translate(-2px,-5px) rotate(-3deg);
  }
  .hd-inspect:hover .hp-folder {
    transform: translateY(-5px) rotate(-3deg) rotateY(-2deg);
  }
}

.hd-after {
  padding: 1.15rem 0;
  display: flex;
  justify-content: flex-end;
}

.hd-after a,.hx-source,.hx-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--home-ink);
  font-size: .9rem;
  font-weight: 550;
  text-underline-offset: .24rem;
}

.hd-after a {
  gap: .4rem;
}

.hd-example {
  display: none;
  background: var(--home-paper);
  color: var(--home-ink);
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
}

.hd-example:target,.hd-example.is-active {
  display: grid;
}

.hd-example:target {
  margin-top: 1rem;
  border: 1px solid #a4abb0;
}

.hx-text {
  padding: clamp(1.1rem,3.3vw,3.2rem);
  align-self: center;
}

.hx-meta,.hx-doc-label {
  font: 600 .75rem/1.4 ui-monospace,Menlo,monospace;
}

.hx-meta {
  color: var(--home-muted);
  margin: 0 0 .9rem;
}

.hx-text h2 {
  color: var(--home-ink);
  font: 500 clamp(1.75rem,3.4vw,3.15rem)/1.04 Editorial,Georgia,serif;
  letter-spacing: -.053em;
  text-wrap: balance;
  margin: 0 0 .75rem;
}

.hx-text p:not(.hx-meta) {
  margin: .6rem 0;
  color: var(--home-muted);
  font-size: .94rem;
  line-height: 1.5;
}

.hx-source,.hx-secondary {
  display: flex;
  width: fit-content;
}

.hx-source {
  font-weight: 650;
}

.hx-secondary {
  font-size: .81rem;
}

.hx-art {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 45%,var(--glow),transparent 80%),#1e2e42;
  padding: clamp(1.1rem,3vw,2.5rem);
}

.hx-paper {
  width: 100%;
  background: #f8f6f0;
  color: #203043;
  padding: clamp(.9rem,2vw,1.7rem);
  border-top: 5px solid var(--color);
  box-shadow: 1px 2px #cabfb0,2px 4px #fffaf1,0 12px 25px #08172b77;
}

.hx-paper h3 {
  font: 550 clamp(1.15rem,2.2vw,1.7rem)/1.12 Editorial,Georgia,serif;
  letter-spacing: -.035em;
  margin: .65rem 0;
}

.hx-doc-label {
  display: block;
  color: #485363;
}

.hx-paper dl {
  margin: 0;
}

.hx-paper dl>div {
  padding: .55rem 0;
  border-top: 1px solid #b9c0c4;
}

.hx-paper dt {
  font-size: .81rem;
  font-weight: 650;
}

.hx-paper dd,.hx-fold p {
  font-size: .85rem;
  line-height: 1.4;
  margin: .25rem 0;
}

.hx-fold {
  margin-top: .75rem;
  border-top: 1px solid #a4acb0;
}

.hx-fold summary {
  padding: .6rem 0;
  min-height: 44px;
  cursor: pointer;
  font-weight: 650;
  font-size: .82rem;
}

/* Front, side and top use the same registered print sheet as the full 3D inspection. */
.hx-proof-art {
  padding: clamp(1rem,2vw,1.7rem);
  background: radial-gradient(ellipse at 35% 48%,#384961,#17263b 72%);
  color: #f7f7f4;
}

.hx-proof-sheet {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0;
}

.hx-proof-sheet legend {
  padding: 0 0 .5rem;
  font-size: .88rem;
  font-weight: 650;
}

.hx-proof-switch {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  min-width: 5.2rem;
  padding: .35rem .85rem;
  border: 1px solid #8391a2;
  color: #e3eaf2;
  font-size: .81rem;
  font-weight: 600;
  cursor: pointer;
}

.hx-proof-switch[for="hx-original"] {
  border-radius: .35rem 0 0 .35rem;
}

.hx-proof-switch[for="hx-revised"] {
  margin-left: -1px;
  border-radius: 0 .35rem .35rem 0;
}

.hx-proof-sheet input:checked + .hx-proof-switch {
  color: #172538;
  border-color: #f2d397;
  background: #f2d397;
}

.hx-proof-sheet input:focus-visible + .hx-proof-switch {
  position: relative;
  z-index: 1;
  outline: 2px solid white;
  outline-offset: 3px;
}

.hx-proof-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: .8rem;
  align-items: center;
  min-width: 0;
  padding: 1.25rem 0 .9rem;
}

.hx-pack {
  position: relative;
  justify-self: center;
  width: 76%;
  max-width: 9.9rem;
  aspect-ratio: 5 / 7;
  transform-style: preserve-3d;
  transform: perspective(36rem) rotateX(-6deg) rotateY(-17deg);
}

.hx-pack > span {
  position: absolute;
  display: block;
  background-image: url(/assets/portfolio/label-carton-art.webp);
  background-repeat: no-repeat;
  backface-visibility: hidden;
}

.hx-pack-front {
  inset: 0;
  background-size: 409.6% 146.2857%;
  background-position: .1292% .6173%;
}

#hx-revised:checked ~ .hx-proof-grid .hx-pack-front {
  background-position-x: 65.2455%;
}

.hx-pack-side {
  inset: 0 auto 0 100%;
  width: 31.6%;
  transform-origin: left center;
  transform: rotateY(90deg);
  background-size: 1296.2025% 146.2857%;
  background-position: 80.1058% .6173%;
  box-shadow: inset 0 0 0 8rem #1b263633;
}

.hx-pack-top {
  inset: auto 0 100%;
  height: 22.5714%;
  transform-origin: center bottom;
  transform: rotateX(90deg);
  background-size: 409.6% 648.1013%;
  background-position: .1292% 81.5242%;
}

.hx-evidence {
  position: relative;
  min-width: 0;
  background: #fffcf4;
  color: #1e2734;
  padding: .66rem;
  border-radius: 2px;
  box-shadow: 0 6px 18px #07111e55;
  font: 600 .78rem/1.25 Arial,sans-serif;
}

.hx-evidence::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 60%;
  width: .8rem;
  border-top: 1px solid #e8c284;
}

.hx-evidence > span {
  display: block;
  font-size: .68rem;
}

.hx-evidence > strong {
  display: block;
  font-size: clamp(1.15rem,2vw,1.7rem);
  letter-spacing: -.06em;
  border-bottom: .18rem solid;
}

.hx-evidence .hx-dv {
  padding: .25rem 0;
  text-align: right;
}

.hx-evidence div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .28rem;
  padding: .32rem .2rem;
  background: #f8e6bc;
  border-left: 2px solid #8c6630;
}

.hx-proof-line {
  margin: 0;
  padding: .7rem 0;
  border-top: 1px solid #8593a3;
  font-size: 1.05rem;
}

.hx-proof-line > span {
  display: block;
  color: #cbd5e1;
  font: 550 .72rem/1.5 ui-monospace,Menlo,monospace;
}

.hx-revised-line,
#hx-revised:checked ~ .hx-proof-line .hx-original-line {
  display: none;
}

#hx-revised:checked ~ .hx-proof-line .hx-revised-line {
  display: inline;
}

.hx-proof-sheet .hx-fold {
  margin: 0;
  border-color: #65758a;
}

.hx-proof-sheet .hx-fold a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #f4d59b;
  font-size: .83rem;
  text-underline-offset: .2em;
}

.hx-stamp {
  display: block;
  font: 650 clamp(2rem,4.6vw,4rem)/1 Inter,Arial,sans-serif;
  letter-spacing: -.07em;
}

.hx-stamp {
  width: fit-content;
  border: 2px solid #26555b;
  color: #214549;
  border-radius: 5px;
  padding: .12em .2em;
  margin: .3em 0;
}

.hx-spec-paper img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: .5rem;
}

.hd-modal {
  color: var(--home-ink);
  width: min(930px,calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid #788396;
  border-radius: 6px;
  box-shadow: 0 24px 90px #05122577;
  background: var(--home-paper);
  overflow: auto;
}

.hd-modal::backdrop {
  background: #081522be;
}

.hd-modal .hd-example:target {
  margin: 0;
  border: 0;
}

.hd-modal .hd-example:not(.is-active) {
  display: none;
}

.hd-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: 0 .75rem 0 1.1rem;
  position: sticky;
  top: 0;
  z-index: 2;
  background: #17283e;
  color: #f6f4ec;
}

.hd-toolbar>span {
  font: 550 .85rem/1.2 Inter,Arial,sans-serif;
}

.hd-toolbar>div {
  display: flex;
  align-items: center;
}

.hd-toolbar button {
  font: 550 1.1rem/1 Inter,Arial,sans-serif;
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 0;
  min-width: 44px;
  min-height: 44px;
}

.hd-toolbar button:last-child {
  border-left: 1px solid #6d7b8c;
  margin-left: .25rem;
}

.hd-toolbar button:hover {
  background: #ffffff1c;
}

.hd-toolbar small {
  font: 500 .72rem/1 ui-monospace,Menlo,monospace;
  color: #ead2a4;
}

.hd-main :focus-visible,.hd-modal :focus-visible {
  outline: 2px solid #936735;
  outline-offset: 2px;
}

.hd-display a:focus-visible,.hd-toolbar button:focus-visible {
  outline-color: var(--light,#f2cf8e);
  outline-offset: -3px;
}

body:has(.hd-modal[open]) {
  overflow: hidden;
}

@media(prefers-reduced-motion:no-preference) {
  .hd-modal[open] {
    animation: hd-arrive .22s ease-out;
  }
  .hd-example.is-active .hx-art>* {
    animation: hd-switch .31s ease-out;
  }
  @keyframes hd-arrive {
    from {
      transform: translateY(8px);
    }
  }
  @keyframes hd-switch {
    from {
      transform: translateX(8px);
    }
  }
}

@media(max-width:850px) {
  .hd-intro {
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    gap: 2rem;
  }
  .hd-service {
    font-size: 1.06rem;
  }
  .hd-object {
    height: 11.5rem;
  }
}

@media(max-width:660px) {
  .hd-intro {
    display: block;
    padding: 1.35rem 0 1.05rem;
  }
  .hd-intro h1 {
    font-size: clamp(1.95rem,6.7vw,2.6rem);
    max-width: 18ch;
  }
  .hd-intro p {
    margin: .48rem 0 0;
    font-size: .91rem;
    line-height: 1.43;
    max-width: 53ch;
  }
  .hd-display {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .hd-slot:nth-child(2) {
    border-right: 0;
  }
  .hd-slot:nth-child(-n+2) {
    border-bottom: 1px solid #91a4ba70;
  }
  .hd-service {
    min-height: 44px;
    font-size: clamp(.92rem,3.8vw,1.23rem);
    padding: .52rem .65rem;
    letter-spacing: -.045em;
  }
  .hd-object {
    height: clamp(6.05rem,26vw,8.3rem);
  }
  .hd-caption {
    min-height: 36px;
    margin: 0 .65rem;
    padding: .32rem 0;
    font-size: clamp(.65rem,2.5vw,.83rem);
    line-height: 1.2;
  }
  .hd-expand {
    flex: none;
    width: 1.17rem;
    height: 1.17rem;
    font-size: .78rem;
  }
  .hp-register {
    width: 50%;
    max-width: 100px;
    padding: 3% 3% 3% 5%;
    font-size: clamp(.42rem,1.65vw,.62rem);
  }
  .hp-register-title {
    font-size: clamp(.55rem,2.65vw,.9rem);
  }
  .hp-carton {
    width: 28%;
    left: 25%;
  }
  .hp-proof {
    width: 33%;
    right: 16%;
    padding: 3%;
    font-size: clamp(.4rem,1.6vw,.58rem);
  }
  .hp-proof strong {
    font-size: clamp(1.2rem,5.4vw,1.9rem);
  }
  .hp-folder {
    width: 58%;
  }
  .hp-folio {
    font-size: clamp(.43rem,1.85vw,.65rem);
  }
  .hd-after {
    padding: .25rem 0;
  }
  .hd-example:target,.hd-example.is-active {
    grid-template-columns: 1fr;
  }
  .hx-text {
    padding: 1.05rem;
  }
  .hx-meta {
    margin-bottom: .4rem;
  }
  .hx-text p:not(.hx-meta) {
    font-size: .875rem;
  }
  .hx-art {
    padding: .83rem;
  }
  .hx-evidence {
    padding: .5rem;
  }
  .hd-modal {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
  }
}

@media(prefers-reduced-motion:reduce) {
  .hd-object>span,.hd-object::after {
    transition: none;
  }
  .hd-inspect:hover .hp-register,.hd-inspect:hover .hp-folder,.hd-inspect:hover .hp-carton,.hd-inspect:hover .hp-proof {
    transition: none;
  }
}

@media(forced-colors:active) {
  .hx-proof-sheet input:checked + .hx-proof-switch {
    border: 2px solid Highlight;
    text-decoration: underline;
  }
  .hd-slot,.hd-display,.hd-caption,.hd-expand,.hx-paper {
    border: 1px solid CanvasText;
  }
  .hd-service,.hd-inspect {
    color: LinkText;
  }
}

.portfolio-status {
  margin: 4px 0 32px;
  border-block: 1px solid #abb8aa;
  color: #244234;
  font-size: 15px;
}

.portfolio-status summary {
  cursor: pointer;
  min-height: 46px;
  padding: 12px 3px;
  font-weight: 600;
}

.monitoring-summary {
  max-width: 960px;
  margin: 4px 0 20px;
}

.monitoring-summary p {
  margin: 5px 0 12px;
}

.monitoring-summary h3,
.monitoring-summary h4 {
  margin: 12px 0 4px;
}

.monitoring-summary .cat-bar {
  margin: 5px 0;
  max-width: 640px;
}

.monitoring-summary .cat-bar > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.monitoring-summary .cat-bar > div:nth-child(2) {
  height: 7px;
  background: #d4dccc;
  border-radius: 5px;
  overflow: hidden;
}

.monitoring-summary .cat-bar > div:nth-child(2) > div {
  height: 100%;
  background: #426c55 !important;
}

.monitoring-summary img {
  height: auto;
  max-width: 100%;
}

.monitoring-summary summary:focus-visible {
  outline: 2px solid #356644;
}

.portfolio-status {
  color: var(--home-ink);
  border-color: #aeb5bb;
}

.monitoring-summary .cat-bar>div:nth-child(2) {
  background: #d5dbe2;
}

.monitoring-summary .cat-bar>div:nth-child(2)>div {
  background: #4d6785!important;
}

.hd-return {
  display: none;
}

.hd-main:has(.hd-example:target) .hd-return {
  display: block;
}

.hd-return a {
  color: var(--home-ink);
  text-underline-offset: .2em;
}

.hd-service {
  align-items: flex-start;
  padding-block: .86rem .8rem;
}

.hd-service>.hd-route-copy {
  color: #f6f7fa;
  display: grid;
  gap: .22rem;
  line-height: 1.2;
}

.hd-service .hd-service-job {
  font: 440 clamp(.76rem,1vw,.91rem)/1.35 Inter,Arial,sans-serif;
  letter-spacing: normal;
  color: #d3dce6;
}

.hd-service .hd-route-go {
  color: var(--light);
  align-self: flex-start;
}

.hd-service:hover {
  text-decoration: none;
}

.hd-service:hover .hd-service-name {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.hd-caption .hd-expand {
  display: inline-flex;
  width: auto;
  height: auto;
  gap: .25rem;
  align-items: center;
  flex: none;
  border: 0;
  font: 570 .72rem/1.2 Inter,Arial,sans-serif;
}

.hd-expand i {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid #a4afba75;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 500 .85rem/1 Inter,Arial,sans-serif;
}

.hd-after {
  align-items: center;
  justify-content: flex-start;
  gap: 1.4rem;
}

.hd-contact {
  min-height: 44px;
  background: var(--home-night);
  color: #fff!important;
  text-decoration: none;
  padding: .5rem .95rem;
  border-radius: 3px;
}

@media(max-width:660px) {
  .hd-service {
    padding: .46rem .65rem;
    min-height: 62px;
  }
  .hd-service .hd-service-job {
    font-size: clamp(.68rem,2.8vw,.81rem);
  }
  .hd-caption .hd-expand {
    font-size: .66rem;
  }
  .hd-caption .hd-expand i {
    display: none;
  }
  .hp-callout span,.hp-callout time {
    font-size: clamp(.43rem,1.65vw,.61rem);
  }
  .hp-callout b {
    font-size: clamp(.49rem,1.95vw,.72rem);
  }
  .hp-can-mark {
    font-size: clamp(.65rem,3.36vw,1.18rem);
  }
  .hp-can-words {
    font-size: clamp(.38rem,1.55vw,.55rem);
  }
  .hd-after {
    padding: .65rem 0;
    gap: 1.1rem;
  }
}

.hd-service>.hd-route-copy {
  font-size: inherit;
}

.hd-semantic,.hx-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hp-can-mark,.hp-can-words {
  white-space: nowrap;
}

@media(max-width:660px) {
  .hp-can-mark {
    font-size: clamp(.58rem,2.65vw,1rem);
  }
}
